Re: [vox-tech] PHP Question: Includes and Variables

2005-02-25 Thread Micah Cowan
Richard S. Crawford wrote: Here's the situation. My script, page1.php, calls a script in another directory called config.php via require_once. config.php declares several variables which should be accessible in page1.php. For example: --- http://myphpsite.net/dir1/page1.php require_o

Re: [vox-tech] PHP Question: Includes and Variables

2005-02-25 Thread Richard S. Crawford
Bill Kendrick said: > On Fri, Feb 25, 2005 at 01:41:31PM -0800, Richard S. Crawford wrote: >> Here's the situation. >> >> My script, page1.php, calls a script in another directory called >> config.php via require_once. config.php declares several variables >> which >> should be accessible in page

Re: [vox-tech] PHP Question: Includes and Variables

2005-02-25 Thread Bill Kendrick
On Fri, Feb 25, 2005 at 01:41:31PM -0800, Richard S. Crawford wrote: > Here's the situation. > > My script, page1.php, calls a script in another directory called > config.php via require_once. config.php declares several variables which > should be accessible in page1.php. For example: Just to

[vox-tech] PHP Question: Includes and Variables

2005-02-25 Thread Richard S. Crawford
Here's the situation. My script, page1.php, calls a script in another directory called config.php via require_once. config.php declares several variables which should be accessible in page1.php. For example: --- http://myphpsite.net/dir1/page1.php http://myphpsite.net/dir2/config.p