Hi. This seems like it should be simple. I've had no problem doing this
in other languages, but can find no reference to this function in the
PHP manual.
How can I get PHP to return the referring URL?
Thanks.
Diana
[EMAIL PROTECTED] Will Work for Chocolate
Hi. This seems like it should be simple. I've had no problem doing this
in other languages, but can find no reference to this function in the
PHP manual.
How can I get PHP to return the referring URL?
Depends on your PHP version and webserver install. In most cases
$_SERVER['HTTP_REFERER']
$_SERVER[HTTP_REFERER]
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To: 'Diana Cassady'
Subject: RE: [PHP-DB] Simple Referrer
Use this variable:
$_SERVER[HTTP_REFERER]
It's worked the best for me.
==
Dennis Cole @ Sanford Weather - Sanford, MI, USA
5000 Weather Enthusiasts Can't Be Wrong
Diana,
Diana Cassady said:
Hi. This seems like it should be simple. I've had no problem doing this
in other languages, but can find no reference to this function in the
PHP manual.
How can I get PHP to return the referring URL?
Thanks.
Diana
[EMAIL PROTECTED] Will Work
:
Subject: [PHP-DB] Simple Referrer
08/27/2003 12:10
PM