|
Posted by tom_sawyer70@yahoo.com on 04/19/07 12:34
On Apr 19, 4:52 am, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> tom_sawye...@yahoo.com wrote:
> > <?php include ("includes/nav.php"); ?>
>
> Try:
>
> <?php include ("nav.php"); ?>
>
> Because you mentioned that the "includes" directory is in your
> includes_path, but you didn't say that its parent directory was.
>
> --
> Toby A Inkster BSc (Hons) ARCShttp://tobyinkster.co.uk/
> Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
>
> * = I'm getting there!
Toby,
Thank you for the reply. My include_path does include the parent
directory, and from info.php is:
..:/srv/www/htdocs:/srv/www/htdocs/includes:usr/share/php5:/usr/share/
php5/PEAR
My understanding of an include_path directive is that it is similar to
a DOS search path, in that if the file is not in the local directory
then the path is searched until it is found.
Dave
[Back to original message]
|