How to get the URL into a var?
| From: | Andy | Date: | Sat, 02 Mar 2002 09:29:09 +0000 |
| Subject: | How to get the URL into a var? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-82694@lists.php.net to get a copy of this message | ||
Hi there,
I am trying to find out which dir the user is browsing. How can I get the
URL into a var? I tryed path_info, but it only returns the filename.
Here is an example:
URL: http://www.server.com/subapp/test.php
Should return :
subapp
Is this possible??
Thanx for any help
Cheers Andy