script location
| From: | Gabe | Date: | Fri, 04 Jun 2004 13:56:42 +0000 |
| Subject: | script location | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187624@lists.php.net to get a copy of this message | ||
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?
Thanks!