Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Their SQL examples don't seem to perform any kind of input sanitization. They just use raw $_POST.

http://www.w3schools.com/php/php_mysql_insert.asp



I give them credit for using MySQLi and not mysql_* though. I still suggest PDO.




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

Search: