Re: script location

From: Date: Fri, 04 Jun 2004 15:10:18 +0000
Subject: Re: script location
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-187643@lists.php.net to get a copy of this message
Well, then... let me win the whole battle for you: $path = $_SERVER['REQUEST_URI']; $path = dirname($path); echo $path; You can use REQUEST_URI, SCRIPT_NAME, or PHP_SELF. Now you know, and knowing is . . . ;-) John W. Holmes wrote:
From: "Gabe" <ydnahg-news4432@mailblocks.com>
Knowing the functions is half the battle. :-)
GI JOE!!! ---John Holmes http://www.ebaumsworld.com/gijoe.html
-- Regards, Ben Ramsey http://benramsey.com --------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. ---------------------------------------------------

« previous php.general (#187643) next »