Re: How to get the URL into a var?
| From: | B. van Ouwerkerk | Date: | Wed, 30 Jan 2002 09:40:26 +0000 |
| Subject: | Re: How to get the URL into a var? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82698@lists.php.net to get a copy of this message | ||
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??http://www.php.net/manual/en/language.variables.predefined.php HTH B.