RE: [PHP] HTTP_REFERER

From: Date: Tue, 05 Sep 2000 18:08:06 +0000
Subject: RE: [PHP] HTTP_REFERER
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15339@lists.php.net to get a copy of this message
Kelly, Here is the line that I use to get the page they were looking for on my error page. <? print "<font color=red> www.chieftain.com$REQUEST_URI </font>"; ?> you can see it by going to http://www.chieftain.com/whetever Hope this helps. Thank you Brian Paulson Sr. Web Developer 1-800-279-6397 X207 bpaulson@chieftain.com ************************* >-----Original Message----- >From: Kelly Hamlin [mailto:php@bomb.net] >Sent: Tuesday, September 05, 2000 12:01 PM >To: php-general@lists.php.net; Craig Simons >Subject: Re: [PHP] HTTP_REFERER > > >Ok, i do have http_referer coded in thier in 2 spots, and it shows >blank. so >if thier an alternative id like to know. >----- Original Message ----- >From: "Craig Simons" <csimons@cdwebstudios.com> >To: "Kelly Hamlin" <php@bomb.net>; <php-general@lists.php.net> >Sent: Tuesday, September 05, 2000 2:00 PM >Subject: Re: [PHP] HTTP_REFERER > > >> Hi Kelly. I just went to your page (bomb.net). I typed in a bogus url. It >> took me to the error page and everything the way it is coded (except that >> all of the text was black on a black background). It is my limited >> understanding that the $REQUEST_URI is just the name of the script that >has >> been called, not the previous one which is what you want. I honestly >> couldn't suggest an alternative other than using a temporary javascript >> work-around (using the history object perhaps). Maybe someone else has >some >> ideas? >> >> - Craig Simons >> >> >> -- >> 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 (#15339) next »