note 57158 added to function.settype
| From: | php-general at lists dot php dot net | Date: | Sun, 25 Sep 2005 20:24:06 +0000 |
| Subject: | note 57158 added to function.settype | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-95766@lists.php.net to get a copy of this message | ||
In response to the comment by Neoja regarding validating every variable in the URL using settype --
that is wrong.
All value passed in the URL are strings, even if they are numbers. (Remember, they are passed in the
header, which is a specially formatted string).
----
Manual Page -- http://www.php.net/manual/en/function.settype.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57158
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57158&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57158&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57158&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57158&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57158&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57158&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57158&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57158&report=yes
Search -- http://master.php.net/manage/user-notes.php