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" <[EMAIL PROTECTED]>
To: "PHP General Mailing List" <[EMAIL PROTECTED]>
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: [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