Getting whole URL
| From: | I.A. Gray | Date: | Tue, 04 May 2004 15:45:47 +0000 |
| Subject: | Getting whole URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185321@lists.php.net to get a copy of this message | ||
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
How can I get get this URL in the PHP script in this page. PHP_SELF only
gives me the filename and not the query strings. I just want the whole URL
so I can pass it through some functions.
Thanks!