Re: PHP4 vs PHP5
| From: | Gerry Danen | Date: | Sat, 07 Jan 2006 16:15:09 +0000 |
| Subject: | Re: PHP4 vs PHP5 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228291@lists.php.net to get a copy of this message | ||
Kevin,
[client 192.168.0.2] PHP Notice: Undefined index: HTTP_REFERER in
/home/arls_lilies_test/html/include_db/db_connect.php on line 67
is what shows in the error log...
The actual code is
$glb_http_ref = $_SERVER['HTTP_REFERER'];
Gerry
On 1/7/06, Kevin Waterson <kevin@oceania.net> wrote:
>
> This one time, at band camp, Gerry Danen <gdanen@gmail.com> wrote:
>
> > I'm wondering if $_SERVER['HTTP_REFERER'] is no longer supported, or
> perhaps
> > has a new name?
>
> still there, same name.
>
> print_r($_SERVER);
>
> Kevin
>
>
> --
> "Democracy is two wolves and a lamb voting on what to have for lunch.
> Liberty is a well-armed lamb contesting the vote."
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Gerry
http://portal.danen.org/