note 89804 added to pdostatement.bindparam
| From: | tom at tomwardrop dot com | Date: | Tue, 24 Mar 2009 05:50:24 +0000 |
| Subject: | note 89804 added to pdostatement.bindparam | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152365@lists.php.net to get a copy of this message | ||
@Alex...
No wonder. That's basically trying to bypass one of the major reasons for using prepared
statements to begin with. Any value which comes from the application, whether it's hard-coded
or user input, should be passed as a single value, not as a collection of values, or string
containing part of a query.
----
Server IP: 117.55.229.1
Probable Submitter: 59.167.213.18
----
Manual Page -- http://www.php.net/manual/en/pdostatement.bindparam.php
Edit -- https://master.php.net/note/edit/89804
Del: integrated -- https://master.php.net/note/delete/89804/integrated
Del: useless -- https://master.php.net/note/delete/89804/useless
Del: bad code -- https://master.php.net/note/delete/89804/bad+code
Del: spam -- https://master.php.net/note/delete/89804/spam
Del: non-english -- https://master.php.net/note/delete/89804/non-english
Del: in docs -- https://master.php.net/note/delete/89804/in+docs
Del: other reasons-- https://master.php.net/note/delete/89804
Reject -- https://master.php.net/note/reject/89804
Search -- https://master.php.net/manage/user-notes.php