note 127178 added to pdo.exec
| From: | vladimir.ivic.zoho.com via php-notes | Date: | Mon, 13 Jun 2022 18:18:06 +0000 |
| Subject: | note 127178 added to pdo.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-218592@lists.php.net to get a copy of this message | ||
exec is the most pointless command in PDO. Easy target for SQL injection. I have no idea why it
exists at all. To protect yourself from SQL injection you must use prepare and execute. So, I
don't see the point of having an exec command.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.12.131 (proxied: 87.116.180.205)
----
Manual Page -- https://php.net/manual/en/pdo.exec.php
Edit -- https://main.php.net/note/edit/127178
Del: integrated -- https://main.php.net/note/delete/127178/integrated
Del: useless -- https://main.php.net/note/delete/127178/useless
Del: bad code -- https://main.php.net/note/delete/127178/bad+code
Del: spam -- https://main.php.net/note/delete/127178/spam
Del: non-english -- https://main.php.net/note/delete/127178/non-english
Del: in docs -- https://main.php.net/note/delete/127178/in+docs
Del: other reasons-- https://main.php.net/note/delete/127178
Reject -- https://main.php.net/note/reject/127178
Search -- https://main.php.net/manage/user-notes.php