missing HTTP_REFERER... (defining globals etc.)
| From: | Maarten Stolte | Date: | Tue, 04 Jul 2000 10:26:39 +0000 |
| Subject: | missing HTTP_REFERER... (defining globals etc.) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4714@lists.php.net to get a copy of this message | ||
Hi,
on our site http://gardens.samhoud.nl i get the following
error on trying to
insert
http_referer into a db.
"Warning: Undefined variable: HTTP_REFERER in
/www/vhost_samhoud.nl.gardens/htdocs/index.php on line 22"
I put a test.php on http://gardens.samhoud.nl/test.php to look at, and
that
doesn't show the referer listed either..
If it is empty, it should be listed as such, but it's nowhere to be found.
I can define it as empty, or use it earlier on in a ifset(), and then it
works fine, but is this how it should be?
Maarten Stolte
www.DoWebWeDo.com