Re: Re: How to set an absolute include path?

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

 



Brian Dunning wrote:

I should add that I'd heard that the following will set the include_path to the server root, no matter where you call includes from:

ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');

But this doesn't seem to be doing it for me. Also my development server is Windows and my production server is BSD, in case that affects things...

Since you problem is also needs to be OS independent, I have written a short article about this subject. It covers both windows and linux based servers as the path to a folder is a bit different when it comes to windows. http://melbourne.ug.php.net/content/view/55/62/

cheers,
Jeffery
http://melbourne.ug.php.net

--
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