News for hackers. Stuff that matters.
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.

http://bobby-tables.com/

Re:Signs of Crappy PHP Software by chime on Sunday July 04, 2010 @10:27AM (#1485728)
> 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... ?

Re:Signs of Crappy PHP Software by code_duck on Sunday July 04, 2010 @12:08PM (#1485861)
I'm pretty sure the audience on HN understands sql injection without having to refer to a cartoon.
Re:Signs of Crappy PHP Software by hallmark on Sunday July 04, 2010 @11:47PM (#1487168)
Yes, but Little Bobby Tables is an inside joke for the HN audience. I love that comic!
Re:Signs of Crappy PHP Software by code_duck on Monday July 05, 2010 @03:34AM (#1487590)
It's a good one, no doubt. And it's true that the resources of the linked site go beyond the world of drawn panes.