Forum Moderators: coopster
Bear in mind that $_SERVER['HTTP_REFERER'] may not be set all. Some browsers might not send a referer (or may be a browser plugin is preventing it from being sent). And it could be faked (browser plugin etc.), so it's not 100%. But then that's the same if you were using .htaccess.