Re[2]: Document root, preferred way to find it???

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

 



Hi,

Thursday, March 3, 2005, 11:54:48 AM, you wrote:

A> If I'm reading you correctly, then a truly transportable include might look like
A> this:

A> $doc_root= (isset($_SERVER['path_translated'])?
A> $_SERVER['path_translated'] : 	 
A>      $_SERVER['document_root'];


Exactly

-- 
regards,
Tom

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