Re: how get current URL ?? HTTP_REFERRER brings prevous only
| From: | Brian T. Allen | Date: | Sat, 12 Aug 2000 19:27:14 +0000 |
| Subject: | Re: how get current URL ?? HTTP_REFERRER brings prevous only | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11474@lists.php.net to get a copy of this message | ||
You have to combine $REQUEST_URI and $HTTP_HOST....
------------------------------------------------------
I need to refernece the current URL incl. querystring (e.g.
http://mypage.com/myscripT.php?first=john&last=Doe
If I use $HTTP_REFERER I only get the URL of the page I came from. What is
the proper Variable for the CURRENT url?
(I read the manual over and over, but I only found it could be done using 3
variables combined - but I think there should be exist a single Variable
doing the trick?!)
Thanks for a tip.
Helmut