Skip to Main Content Skip to Login Form
Downloads/Source Code/(PHP) Sql Injection Safe 0.1
Image of (PHP) Sql Injection Safe 0.1
Download Button
Name: (PHP) Sql Injection Safe 0.1
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.
Copyright © 2007 M-Gate Labs. All rights reserved.
eXTReMe Tracker