2 ms·
I have seen some real crap in Python recently. Then I was asked to move a PHP app to a new server. A quick look at the code looked terrible - string concatenati
by collyw 10y ago
I have seen some real crap in Python recently. Then I was asked to move a PHP app to a new server. A quick look at the code looked terrible - string concatenations for all the SQL. (Does PHP provide some way of making this safe, or should I warn management about potential SQL injection? I don't know a lot about PHP).
- emodendroket 10y agoI think PDO is the accepted way to do it but I'm not a PHP developer.
- 27182818284 10y agoPHP absolutely has right ways to do parameterized queries. Take a glance at http://www.phptherightway.com/ http://www.phptherightway.com/ to get started