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

From: Date: Thu, 03 Mar 2005 22:47:02 +0000
Subject: Re[2]: [PHP] Document root, preferred way to find it???
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-209955@lists.php.net to get a copy of this message
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

« previous php.general (#209955) next »