Anon
02-14-2001, 01:36 PM
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
Any help appreciated.
jhb
|
Click to See Complete Forum and Search --> : Newbie?: php files must be in root direc Anon 02-14-2001, 01:36 PM 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 roel_v 02-14-2001, 02:31 PM 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) PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved. |