Re: script location

From: Date: Fri, 04 Jun 2004 18:08:29 +0000
Subject: Re: script location
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187647@lists.php.net to get a copy of this message
I use of realpath() > Does anyone know of a simple/efficient way to determine the path to a > script on the URL? > > For instance: > > http://www.nowhere.com/test/whatever/testing.php > > All I want out of that URL is this: > > /test/whatever/ > > I didn't see an element in one of the super global variables that would > provide me this information. Any ideas?

« previous php.general (#187647) next »