HTML in MySQL via PHP (also prevention of SQL injection)
Published by | Filed under toadz, view-all-posts-in-php, html-in-mysql, prevention, via, sql-injection, sql, injection, wordpress, php, html, mysql
It also prevents SQL-injections, and thus it is recommended that all user-input be handled by this function before the MySQL insert is done. An example. $mysql_query = “INSERT INTO table SET name = ‘”. mysql_real_escape_string($name) . …
buffer create dynamic memory fatal error line out unknown unknown on […]
PHP Security considerations, a quick reference for the newbies.
Published by | Filed under saiweb, php-mysql-real-escape-string, mysql-real-escape-string, newbies, view-all-posts-in-php, considerations, saiweb-php-security, reference, injection, security, php, sql, view-all-posts-in-mysql, mysql
Passing RAW globals to mysql! ie. $sql = “SELECT * FROM users WHERE email=’.$_GET[’email’].”‘ and password=’”.$_GET[’password’]”‘” $result = mysql_query($sql);. So what is wrong with the above? SQL INJECTION welcome to a world where …
iis securityiis security
Read the original here: PHP Security considerations, a quick reference for the newbies.
considerations injection mysql mysql real […]
RSS Full

