Re: [PHP] Including files & variables ...

2002-01-09 Thread Bas van Rooijen
There's no need to 'pass' any variables. HINT: pretend the include() command is being replaced with the code in your include file, this means that whatever variables are set/available at that point will also be available in the include. On Mon, 28 Jan 2002 18:54:02 -0800, Evansville Scene wro

Re: [PHP] Including files & variables ...

2002-01-03 Thread Tamas Arpad
On Wednesday 02 January 2002 20:43, you wrote: > What you need to do is simply set the variables before you include > the script. > > When you include a script with include() or require(), they fall > into the same namespace as the include() or require() function that > called them. I read that in

Re: [PHP] Including files & variables ...

2002-01-02 Thread Jason G.
What you need to do is simply set the variables before you include the script. When you include a script with include() or require(), they fall into the same namespace as the include() or require() function that called them. Best Regards, Jason Garber IonZoft.com At 06:54 PM 1/28/2002 -0800,

Re: [PHP] Including files & variables ...

2001-12-28 Thread Dennis Moore
Make sure you include the tags in your include file for PHP parsing. Included files are assumed to be text otherwise. You need to provide more information if you have another problem. - Original Message - From: "Evansville Scene" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Mond

Re: [PHP] Including files & variables ...

2001-12-28 Thread Bogdan Stancescu
I may be repeating myself -- use the Nike solution: just do it! :-) Global variables are implicitly passed to includes. Please provide more info if that's not the case (not globals/globals somehow not being passed). Bogdan Evansville Scene wrote: > I'm having problems passing variables into in