Hello all, wanting to know why php files only work while in the root directory. Do you have to specify a path to the root if the file resides outside of it?
Any help appreciated.
jhb
If you include() or require() them, they have to be in your include_path as set in php.ini and as shown in phpinfo(). All other files have to be referenced just as html pages (http://server/path/to/file/file.php)