$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)
 [EMAIL PROTECTED]
 www.phpbeginner.com




-----Original Message-----
From: Rosen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 8:33 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to