RE: [PHP] (new question on this) http referer

From: Date: Thu, 08 Apr 2004 17:32:06 +0000
Subject: RE: [PHP] (new question on this) http referer
Groups: php.general 
Request: Send a blank email to php-general+get-182871@lists.php.net to get a copy of this message
<snip> The referrer is sent by the referring machine. If that machine isn't setting it, you can't get it. If memory serves, I think I remember someone claiming that this could also be blocked at a firewall...don't know if that's true or not though. </snip> Yup, certain firewalls either mangle the HTTP_REFERER such that it appears it was sent by Elmer Fudd, showing up as HTTP_WEFERER, and others just eliminate it altogether. At any rate, if you're relying on HTTP_REFERER to make sure a script is being called from a certain location, I don't think it's very reliable. Does anyone have any ideas as to a workaround for this? Cheers, Pablo

« previous php.general (#182871) next »