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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to