mysql - If PHP does not use PDO, how to prevent injection when constructing SQL statements?
三叔
三叔 2017-06-22 11:54:34
0
1
977

If PHP does not use PDO, how to prevent injection when constructing SQL statements?

Can formatting strings be eliminated?

三叔
三叔

reply all(1)
我想大声告诉你

Can’t.
Be sure to escape special characters such as quotation marks and backtick marks.
Be sure to pay attention to the encoding of the database.
Be sure to filter for special encodings in statements.
pdo uses database parameter binding, so injection is avoided.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template