note 57083 added to reserved.variables
| From: | Kniht at osu1 dot php dot net | Date: | Fri, 23 Sep 2005 05:41:37 +0000 |
| Subject: | note 57083 added to reserved.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95641@lists.php.net to get a copy of this message | ||
RE: Zoic
While checking the referrer sounds like a good idea, this can simply be spoofed by any exploit
attempts. It may help deter feeble attempts, but you will also lose any visitors whose browser or
proxy strips referrer information.
Since you can't rely on it and must use other validation as well, and since it has the
potential to lose valid visitors, I don't see a reason to check it.
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57083
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57083&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57083&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57083&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57083&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57083&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57083&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57083&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57083&report=yes
Search -- http://master.php.net/manage/user-notes.php