Re: HTTP_REFERER?
| From: | Seairth Jacobs | Date: | Thu, 29 Aug 2002 01:54:05 +0000 |
| Subject: | Re: HTTP_REFERER? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114441@lists.php.net to get a copy of this message | ||
If you are running PHP 4.1.0 or later, you can also use
$_SERVER["HTTP_REFERER"], etc. Note that if you are using PHP 4.2.0 or
later, then the "register_globals" option is off by default and the
variables you mention below are not automatically created.
---
Seairth Jacobs
seairth@seairth.com
"Lon Lentz" <lonl@eximpact.com> wrote in message
news:GFEDLELJONLADHEEBOCNAEMGCMAA.lonl@eximpact.com...
>
> I have a template which places the value of $HTTP_REFERER into a table.
> This template is included in another template which is included in yet
> another template. The problem I am having is that the HTTP_REFERER,
> HTTP_USER_AGENT, and QUERY_STRING variables are all blank.
>
> Are there issues with these values across included templates? I would
> imagine not. Are there settings for Apache that impact these?
>
> I am running Apache on Linux.