You cannot rely on HTTP_REFERER, it all upto client. So I suggest to change code to handle, empty or bogus HTTP_REFERER value.
Regards, -- Yasuo Ohgaki ""Rosen"" <[EMAIL PROTECTED]> wrote in message 9c912a$had$[EMAIL PROTECTED]">news:9c912a$had$[EMAIL PROTECTED]... > 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]