Quote:
Originally posted by Stuwee
I actually can't think of a 100% reliable way around this right now - the referrer is the best way I can think of, but as we all know, it can be easily poisoned.
|
From the manual:
Quote:
PHP Manual:
The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
|
http://www.php.net/manual/en/reserve...riables.server
Basically, do not use it for any form of validation. (as the manual says) trust it.
I will secure my tetris and i will let you know when i'm done with it, then you can check if it's 100% secure if you want.