Re: Problem with the HTTP_REFERER

From: Date: Thu, 26 Apr 2001 14:40:43 +0000
Subject: Re: Problem with the HTTP_REFERER
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-50464@lists.php.net to get a copy of this message
It's a Browser and JavaScript issue. You would like to make your site as REFERER site with following line, right? echo "<SCRIPT language=\"javascript\">window.location.href=\"http://$web\";</script>"; As I write previous post, it's all up to browser if it is going to send REFERER or not and it is nothing to do with PHP, so how about ask in JavaScript related list/news? As far as I know, many browser will not send HTTP_REFERER with this or like. There may be the way to do, though. Regards, -- Yasuo Ohgaki ""Rosen"" <rosen_dm@dir.bg> wrote in message news:9c9869$tjh$1@toye.p.sourceforge.net... > The problem is thath: > I don't want to reflect to "REFERRER" on the client's site. > I want the REFERER on the client site to be my site ! > > Tnahks > Rosen marinov > > > ""Yasuo Ohgaki"" <yohgaki@hotmail.com> wrote in message > news:9c974s$o3n$1@toye.p.sourceforge.net... > > 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"" <rosen_dm@dir.bg> wrote in message > > news:9c912a$had$1@toye.p.sourceforge.net... > > > 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 > > > > > > > > > -- > > 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 > > > > > > -- > 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 >

« previous php.general (#50464) next »