Re: [PHP] Re: require_once

2010-09-02 Thread Peter Lind
On 2 September 2010 13:20, Jangita wrote: > 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 include

Re: [PHP] Re: require_once

2010-09-02 Thread Jangita
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 i

Re: [PHP] Re: require_once

2010-09-02 Thread Peter Lind
On 2 September 2010 12:55, Jangita wrote: > On 01/09/2010 10:56 p, freem...@centrum.cz wrote: >> >> I think the files included just when you call it to include. How do you >> mean >> it later? >> What's in that file? A class or direct code? >> >> David Mehler wrote: >> >>> Hello, >>> I've got prob

Re: [PHP] Re: require_once

2010-09-02 Thread Jangita
On 01/09/2010 10:56 p, freem...@centrum.cz wrote: I think the files included just when you call it to include. How do you mean it later? What's in that file? A class or direct code? David Mehler wrote: Hello, I've got probably a simple question on require_once. I've got a file that has require