note 60083 added to ref.mail
| From: | recontrao at NOSPAM dot yahoo dot com | Date: | Sun, 25 Dec 2005 20:27:37 +0000 |
| Subject: | note 60083 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-100689@lists.php.net to get a copy of this message | ||
in response to the note below.
javascript is NOT a good choice for validations, sice it can be very easily bypassed.
A user coud read the HTML source code and create another html file with the same form but no
validation, and then input the data from there, and spoofing the HTTP Referrer is relatively easy.
To prevent DoS attacks you could implement a CAPTCHA, but CAPTCHA's are not flawless either.
Just my thoughts.
----
Manual Page -- http://www.php.net/manual/en/ref.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60083
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60083&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60083&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60083&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60083&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60083&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60083&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60083&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60083&report=yes
Search -- http://master.php.net/manage/user-notes.php