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

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 the

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,

[PHP] Including files variables ...

2001-12-28 Thread Evansville Scene
I'm having problems passing variables into included PHP files. How can I do this?

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

Re: [PHP] Including files variables ...

2001-12-28 Thread Dennis Moore
: Monday, January 28, 2002 9:54 PM Subject: [PHP] Including files variables ... I'm having problems passing variables into included PHP files. How can I do this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL