Re:Signs of Crappy PHP Software
by petervandijck on Sunday July 04, 2010 @09:10AM
(#1485617)
Another sign: check the mysql queries. If they don't properly escape variables, danger.
[ Parent
| on HN ]
Re:Signs of Crappy PHP Software
by jacksoncarter on Sunday July 04, 2010 @10:15AM
(#1485708)
if they escape variables: danger!
Escaping is not sufficient to prevent SQL Injection Attacks. You must used Parameterized Queries.
> Escaping is not sufficient to prevent SQL Injection Attacks.
Do you have an example or idea of how a SQL injection could occur despite using http://php.net/manual/en/function.mysql-real-escape-string.p... ?
I'm pretty sure the audience on HN understands sql injection without having to refer to a cartoon.
Yes, but Little Bobby Tables is an inside joke for the HN audience. I love that comic!