Re: HTTP_REFERER
| From: | Jim Lucas | Date: | Fri, 23 Nov 2001 15:51:58 +0000 |
| Subject: | Re: HTTP_REFERER | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75585@lists.php.net to get a copy of this message | ||
at our site, we built the error trapping that you are wanting to build.
here is a snippet of what we used.
"PSID: (". PSID .")\n".
"Page: ($GLOBALS[REQUEST_URI])\n".
"As refered from: ($GLOBALS[HTTP_REFERER])\n".
"Browser Platform: ($GLOBALS[HTTP_USER_AGENT])\n".
"User IP: '". gethostbyaddr($GLOBALS[REMOTE_ADDR]) ."'
($GLOBALS[REMOTE_ADDR])\n".
hope this helps
Jim
----- Original Message -----
From: "Jordan Elver" <jord@theinternetone.co.uk>
To: "PHP General Mailing List" <php-general@lists.php.net>
Sent: Friday, November 23, 2001 2:55 AM
Subject: [PHP] HTTP_REFERER
> Hi,
> I'm writing a 404 handler and in order to report the item that was
requested
> I was trying to get the value of HTTP_REFERER. But, it does seem to get
set.
> Does anyone know how to find thi value? Is there a reason why it would not
> get set?
>
> TIA,
>
> Jord
> --
> Jordan Elver
> Web Developer
> http://www.theinternetone.co.uk
> Carpe Aptenodytes! (Seize the Penguins!)
>
> --
> 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
>
>