Fedora Core 1.0, PHP 4.3.3
It appears that there is a lot of documentation
about PHP but the whole thing is a mess!
In any case, I have the following in php.ini
include_path = ".:/books/include"
doc_root = /var/www/html
I have file header.inc in
/var/www/html/books/include/
(I am sure about that)
I have the following in my index.php file
<?php
echo get_include_path().'<br>';
include ("header.inc");
?>
AND I am sure the permission for dir/files is 755.
The result is:
:/books/include
Warning: main(header): failed to open stream: No such file or directory in /var/www/html/books/index.php on line 14
Warning: main(): Failed opening 'header.inc' for inclusion (include_path='.:/books/include') in /var/www/html/books/index.php on line 14
I give you a virtual $1,000,000 if you
point me to a solution.
Thanks
XB