Reply to Re: HTML/PHP include files

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация