John W. Holmes wrote:
<snipped a bit>
As for your php.ini, you put a path for include files that PHP will look
in by default. So if you put 'c:/_Paul/web/phplib/utilities' as an
include path, you'll be able to just use include 'dirfile.php'; instead
of giving the complete path.
I added this line to my php.ini without luck:
include_path = 'c:/_Paul/web/phplib/utilities'
maybe there is another section I should use like:
extension_dir = "./"
maybe separate with a semicolon or space for more than one?
the call looks like this:
include 'dirfile.php'; #contains scandir() function
echo scandir();
with this error:
Warning: main(dirfile.php): failed to open stream:
No such file or directory in
C:\_Paul\web\phplib\screen\home.php on line 8
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php