RE: [PHP] Problem with the HTTP_REFERER
| From: | PHPBeginner.com | Date: | Thu, 26 Apr 2001 14:12:34 +0000 |
| Subject: | RE: [PHP] Problem with the HTTP_REFERER | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50458@lists.php.net to get a copy of this message | ||
$HTTP_REFERER does not work with javascript this way.
the value is as it would be inside your "back button", in other words, you
have to CLICK on a link, then you'll see it.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Rosen [mailto:rosen_dm@dir.bg]
Sent: Thursday, April 26, 2001 8:33 PM
To: php-general@lists.php.net
Subject: [PHP] Problem with the HTTP_REFERER
Hi,
I have BIG problem using "HTTP_REFERER".
I have two pages:
main.php:
<A HREF=test.php target= _blank>Click here</A>
test.php:
.........somecode
echo "<SCRIPT
language=\"javascript\">window.location.href=\"http://$web\";</script>";
$web - some website.
But on the $web site (some site) I can't get the REFERER !!!
--
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