Re: script location

From: Date: Fri, 04 Jun 2004 14:31:40 +0000
Subject: Re: script location
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-187638@lists.php.net to get a copy of this message
* Thus wrote David T-G (davidtg-php@justpickone.org): > Gabe -- > > ...and then Gabe said... > % > % Does anyone know of a simple/efficient way to determine the path to a > % script on the URL? > > Gee, it sounds like you want the dirname() of the SCRIPT_URL. You're on > the right track :-) Or dirname() of $_SERVER['REQUEST_URI'] in case SCRIPT_URL isn't available. Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#187638) next »