|
|
An efficient way to do multiple replacing is using strtr(). |
Also, check for database errors and catch them. Getting an error message that reads connection to database failed is bad enough; a more detailed error message, maybe including the name of the database server and its port, is even worse, because that gives an attacker additional information about your installation.
Tags:
Add more tags...,
|