Re: set_include_path() isn't persistent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 09/11/2004, at 1:26 AM, John Nichel wrote:

Justin French wrote:
Hi,
Experimenting with set_include_path(), but it would appear that it doesn't persist for the duration of the request, just the current script. That is to say, an included file will not inherit the include_path() of the parent file.
Is there any way to persist this without re-setting it on each file?
Justin

.htaccess or in the httpd.conf

Figured as much... the catch is that I'd rather not have to explicitly set the path in htaccess (eg "/usr/home/foo/public/bah/"), but can't find a way yet to set a relative path in htaccess (eg "../" for "one level up from this htaccess file).


Any ideas?

Justin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux