RE: [PHP] Getting the Referrer
| From: | Maxim Maletsky | Date: | Tue, 17 Oct 2000 01:23:41 +0000 |
| Subject: | RE: [PHP] Getting the Referrer | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20495@lists.php.net to get a copy of this message | ||
$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