Browsing the archives for the database tag

What is MySQL Injection?

MySQL injection occurs when someone unauthorised attempts to run an MySQL statement on your database. This will normally take the form of inserting a MySQL statement where you would normally expect some user input – maybe their username.
MySQL Injection Prevention
There is a PHP function which can be used to prevent MySQL injection attacks:
mysql_real_escape_string($variable)
The mysql_real_escape_string() makes [...]

3 Comments Posted in mysql
Tagged , , , , ,
Database connection script

No doubt you already use a database connection script. As a developer, you probably use different servers throughout the development process. When you move your application from one server to another, you maybe have to change the database connection script in order for the application to work on the new server.

If you forget to update [...]

1 Comment Posted in Web development
Tagged , , , , , , , ,