Re: Getting whole URL
| From: | Curt Zirzow | Date: | Tue, 04 May 2004 15:53:44 +0000 |
| Subject: | Re: Getting whole URL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185323@lists.php.net to get a copy of this message | ||
* Thus wrote I.A. Gray (tech@selectperformers.com):
> Hi everyone,
>
> Really simple question- which I can't seem to find anywhere (hey, I am
> blind...) Can I obtain the current URL for the page including query strings
> to the PHP script.
>
> Say the URL for the page is www.blahblahblah.com?blah=blah&blah2=blah2
$_SERVER['REQUEST_URI'];
Curt
--
"I used to think I was indecisive, but now I'm not so sure."