RE: [PHP] Fwd: Get current URL
| From: | Lawrence dot Sheed at dfait-maeci dot gc dot ca | Date: | Tue, 17 Oct 2000 07:58:52 +0000 |
| Subject: | RE: [PHP] Fwd: Get current URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20570@lists.php.net to get a copy of this message | ||
Probably because you spelt it wrong ;)
not HTTP_REFERER
^
would work as...
echo "http referrer: " . $HTTP_REFERRER;
Why not do a <? phpinfo(); ?>
then look through the fields for the spelling of the vars.
cheers,
Loz.
-----Original Message-----
From: Mathijs Dijk [mailto:mathijs@max.nl]
Sent: October 17, 2000 03:58 PM
To: php-general@lists.php.net
Subject: [PHP] Fwd: Get current URL
---------- Forwarded Message ----------
Subject: Get current URL
Date: Tue, 17 Oct 2000 09:52:45 +0200
From: Mathijs Dijk <mathijs@max.nl>
Hi,
I have a tiny anoying problem. I can't get the current URL. I've tried :
- get_env(HTTP_REFERER) & get_env($HTTP_REFERER)
- javascript:history.back(0)
- putting '#' in AHREF
none of these try-outs worked...
Can you help me??
Mathijs Dijk
Max Internet Publishing
-------------------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net