Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Is there a specific reason why you would NOT put all your require statements  
in one php file and then simply call that file instead of perhaps 3 or more  
files directly?

If it is named as a PHP file then you should have no security problems since  
you can't view the source.

Got a lot of PHP books and can't remember seeing it done so I am assuming  
there is a good reason?



Re: require();

On Wed, 08 Nov 2006 18:19:37 +0000, Phil Latio wrote:

Quoted text here. Click to load it

Performance. Why would you want to load code you're not going to use.

Site Timeline