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" <[EMAIL PROTECTED]>
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. ---------------------------------------------------
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php