Downloads/Source Code/(PHP) Sql Injection Safe 0.1
Name: (PHP) Sql Injection Safe 0.1
Date Added: Jul 8, 2008
Downloads: 3
The two SQL Injection safe functions are getNumber and getString. getNumber will retrieve a number from a request and make sure that it is numeric. getString will retrieve a string from a request and make sure it is properly formatted to avoid common sql injection attacks. The other two functions allow you to retrieve the Users IP address and to check if a string ends with another string.
Date Added: Jul 8, 2008
Downloads: 3
Added by: slashandburn
This file contains four useful functions. Two are SQL injection fighting methods. This has only been tested with MySql Databases.
The two SQL Injection safe functions are getNumber and getString. getNumber will retrieve a number from a request and make sure that it is numeric. getString will retrieve a string from a request and make sure it is properly formatted to avoid common sql injection attacks. The other two functions allow you to retrieve the Users IP address and to check if a string ends with another string.
