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

[PHP] Re: require_once

2010-09-01 Thread freeman3
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_once at the top of it pulling in another file

[PHP] Re: Require_once(_)...when does it reset?

2004-10-28 Thread M. Sokolewicz
Greg Beaver wrote: Mike wrote: I am playing with PEAR_Info on my server. It was working fine, then I upgraded some classes, now it is not. I think it is because PHP is holding on to the old code from some require_once functions. I may be totally wrong but that is all I can think of what would cause

[PHP] Re: Require_once(_)...when does it reset?

2004-10-28 Thread Greg Beaver
Mike wrote: I am playing with PEAR_Info on my server. It was working fine, then I upgraded some classes, now it is not. I think it is because PHP is holding on to the old code from some require_once functions. I may be totally wrong but that is all I can think of what would cause this. Other classe

[PHP] Re: require_once adds a "1"

2003-03-07 Thread Gary
Thank you for your replies they are appreciated, I've tried a few things in response to your answers but all I can get is either "1" by it self or no include. Ernest is correct in assuming there is code in the included file it is as follows perhaps you can see my mistake? Gary

[PHP] Re: Require_once problem

2002-11-01 Thread Kerry Kobashi
The problem is that under Windows, case sensitivity is important on require_once require_once("DB.php") is different than require_once("db.php"); Arh! I hate you Windows. "Kerry Kobashi" <[EMAIL PROTECTED]> wrote in message news:20021101073558.1581.qmail@;pb1.pair.com... > Whats the dif