Re: [PHP] PHP Variables across files

2001-02-20 Thread Ben Peter
Jay, to make variables.inc available from wherever you are, set the value of include_path in your php.ini or httpd.conf or .htaccess t something like ".:/path/to/where/variables.inc/is:/other/paths" as an alternative, use the auto_prepend_file directive to include variables.inc before any script

[PHP] PHP Variables across files

2001-02-20 Thread Jay Klehr
Hey all, I have a question about using a variable across multiple PHP files. I want to set a path variable such as: $root_path = /www2/yoursite/docs and I want this variable to be able to be changed in case the site is moved to another server that has a different root path. I was thinking tha