Reply to Re: include_path ?

Your name:

Reply:


Posted by tom_sawyer70@yahoo.com on 04/14/07 23:33

On Apr 14, 5:54 pm, "tom_sawye...@yahoo.com" <tom_sawye...@yahoo.com>
wrote:
> On Apr 14, 3:18 pm, "J.O. Aho" <u...@example.net> wrote:
>
>
>
> > The line you have has a syntax problem and thats why it don't work, the
> > separator is : and not ;
>
> > so your configuration should look like this (one line):
> > include_path = ".:/srv/www/htdocs/includes:usr/share/php5:/usr/share/php5/PEAR"
>
> Hmm...changed the syntax, restarted apache, tried again and it didn't
> work. I tried the full URL, ../includes/nav.php, ./includes/nav.php,
> and /srv/www/htdocs/includes/nav.php, all without luck.
>
> Is there a way to turn on some type of verbose error logging?
>
> One thing from my earlier post that did change is that I no longer
> need the path "includes" in the index.php file anymore, so the syntax
> did clear that problem.

I guess that another way to specify my question is this...

If I have a structure that is:
/srv/www/htdocs/index.php

and it can call nav.php, which is in /srv/www/htdocs/includes/ because
the include_path is in the php.ini, then what syntax should I use to
call that same nav.php file if the file calling the nav.php is located
in:

/srv/www/htdocs/family1/family1.html

?

Should it find nav.php due to the "search path" from the include_path
statement, should it be something along the lines of "./include/
nav.php", or something similar?

[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

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