Re: missing HTTP_REFERER... (defining globals etc.)
| From: | stephan dot schoell at chhos dot mail dot abb dot com | Date: | Tue, 04 Jul 2000 11:29:09 +0000 |
| Subject: | Re: missing HTTP_REFERER... (defining globals etc.) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4718@lists.php.net to get a copy of this message | ||
Hi Maarten
Sorry, I wasn't precise enough: if you type an URL directly into the URL line in
your browser, $HTTP_REFERER *won't be set* (not just will be emtpy!).
HTH
--Steff
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net