RE: [PHP] Getting the Referrer
| From: | Rodino, Justin Bain | Date: | Tue, 17 Oct 2000 01:26:55 +0000 |
| Subject: | RE: [PHP] Getting the Referrer | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20497@lists.php.net to get a copy of this message | ||
function PrintBody () {
global $HTTP_HOST, $REDIRECT_URL, $systempath;
$requested = "http://" . $HTTP_HOST . $REDIRECT_URL;
?>
<!-- Main Text Area -->
The following page was not found:
<UL>
<LI><A HREF="<? print $requested ?>"><?print
$requested?></A>
</UL>
<!-- /Main Text Area -->
<?
}
?>
________________________________________
Justin Rodino <justin@goldendome.com>
Web Application Developer
Golden Dome Media
PO Box 1616
Notre Dame, IN 46634
219.631.1116
800.728.7979 ext. 1116
219.631.1001 - fax
http://www.goldendome.com/
http://www.wndu.com/
> -----Original Message-----
> From: Maxim Maletsky [mailto:maxim@japaninc.net]
> Sent: Monday, October 16, 2000 8:24 PM
> To: 'Jacques Barker'
> Cc: 'PHP General List. (E-mail)'
> Subject: RE: [PHP] Getting the Referrer
>
>
> $HTTP_REFERER
>
> getenv(HTTP_REFERER)
> if it's in a function or class
>
> Cheers!
>
> -----Original Message-----
> From: Jacques Barker [mailto:jacques@itouch.co.za]
> Sent: Monday, October 16, 2000 8:57 PM
> To: php-general@lists.php.net
> Subject: [PHP] Getting the Referrer
>
>
> Hi Guys
>
> I've created a script (PHP3) that replaces our current file
> that displays
> the 404(File not found) error.
> It logs the details of the user when the file gets accessed.
> Problem is it
> doesn't give me the page the user tried to access when the
> error occurred.
> How do I get these details. I try to use REFERRER but it's
> always empty. Any
> ideas?
>
> JKS
>
>
>
> --
> 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
>
>