Sarfraz Ahmed's Blog

PHP, MySQL, jQuery, JavaScript, Ajax, CSS, HTML and more

Tag Archives: MySQL

Dealing With SQL Injection

If you have no idea about what sql injection is, read this wiki article. How can we prevent SQL injection attacks? As with XSS attacks, you must never trust user input. The best way of cleaning user input is using PHP’s built in mysql_real_escape_string() function; this will escape characters such as ‘, ” and others, [...]

QuickDB – The MySQL Wrapper

When working on different projects, you have to use time-consuming mysql commands every now and then. Same was the case with me and i had really got sick of all those commands, so i decided to create my own mysql wrapper with ability to perform the similar tasks far more quickly and easily than their [...]

Follow

Get every new post delivered to your Inbox.

Join 164 other followers