Earlier today a question was asked regarding input validation strategies in web apps .
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Sunday, June 10, 2012
Do htmlspecialchars and mysql_real_escape_string keep my PHP code safe from injection?
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
SQL injection that gets around mysql_real_escape_string()
Is there an SQL injection possibility even when using mysql_real_escape_string() function?
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.