note 89803 deleted from pdostatement.bindparam by thiago
| From: | thiago@php.net | Date: | Tue, 24 Mar 2009 06:04:30 +0000 |
| Subject: | note 89803 deleted from pdostatement.bindparam by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-152367@lists.php.net to get a copy of this message | ||
Note Submitter: tom at tomwardrop dot com
----
@Alex...
No wonder. That's basically trying to bypass one of the major reasons for using prepared
statements to being 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.