On the last question, technically yes.

The key is, how big is big?

If the global file is less than 1000-2000 lines, I wouldn't worry about it.

If it starts getting so large that it's 50-100k, then yes you should
probably break it up.

Under 40k and don't even worry about it unless you are under an utterly
immense server-strain.


--
Plutarck
Should be working on something...
...but forgot what it was.


"Nashirak Bosk" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a php file with a lot of user defined funtions and wraper
> functions in the this global file.  Almost all my pages then use the
> funtions in this one file (and variables), this is so I can keep my
> website very modulure.  However I know that having php go through the
> file takes a bit of processor time and was wondering if it would be wise
> to break up this global file or (into global 1 and 2) or something and
> then only use the global 1 when those function are needed and visa
> versa.  Am I correct in assuming that if that global file gets too big
> PHP is going to have to chew on it longer and therefore hold up the
> page?
>
>  Thanks
>
> --
> -------------------------------
>
> Clayton Bluhm
>
> Computer Engineering Student
>
> [EMAIL PROTECTED] (School)
> [EMAIL PROTECTED] (home)
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to