RE: [PHP-DB] Simple Referrer
| From: | Jennifer Goodie | Date: | Wed, 27 Aug 2003 19:17:39 +0000 |
| Subject: | RE: [PHP-DB] Simple Referrer | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30137@lists.php.net to get a copy of this message | ||
> 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'] works.
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.serve
r
This isn't really database related.