Showing posts with label sql-injection. Show all posts
Showing posts with label sql-injection. Show all posts

Sunday, May 27, 2012

What"s the best method for sanitizing user input with PHP?


Is there a catchall function somewhere that works well for sanitizing user input for sql injection and XSS attacks, while still allowing certain types of html tags?

Thursday, May 24, 2012

Best way to stop SQL Injection in PHP


So specifically in a mysql database, I understand that this is vulnerable to SQL injection . Take the following code and tell me what to do.

Monday, April 23, 2012

Friday, April 6, 2012

Are there any differences between SQL Server and MySQL when it comes to preventing SQL injection?


I am used to developing in PHP/MySQL and have no experience developing with SQL Server. I've skimmed over the PHP MSSQL documentation and it looks similar to MySQLi in some of the methods I read about.