Hacker News new | past | comments | ask | show | jobs | submit login

it is when used correctly within quotes (and used with common charsets, but that's a different story altogether). There is no publicly known way to inject the following when the database is encoded in ISO-8859-1 or UTF-8:

"SELECT ... WHERE `field_name` = '" . mysql_real_escape_string($string_value) . "'";




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: