Archive for security

You are browsing the archives of security.

Sanatize Form Inputs - A simple PHP funciton

Whenever you have a form on your website, and you are putting that data into a MySQL database, you have to take some precautions.  People can inject SQL queries from the form, and you can’t let people do that. Just imagine if someone injected a DROP TABLE statement.