Re: [PHP] Re: require_once

On 02/09/2010 12:59 p, Peter Lind wrote:
Which wouldn't do anything seeing as file2.php has already been
included by file1.php.
Amazing! I didn't think that once you include a file; any other file included also includes any earlier included files (if that makes any sence)

I've always thought includes are local; I.e in order to use a function from another file explicitly include that other file.

Jangita | +256 76 91 8383 | Y! & MSN: jangita@xxxxxxxxx
Skype: jangita | GTalk: jangita.nyagudi@xxxxxxxxx