safedataSafedata is a PHP class that effectively disables both register_globals and magic_quotes. It includes wrapper functions for MySQL / MySQLi`s escape string funct...
Safedata is a PHP class that effectively disables both register_globals and magic_quotes. It includes wrapper functions for MySQL / MySQLi`s escape string functions and for htmlentities / htmlspecialchars that allow you to use both strings and arrays. It can also help with HTML forms, so you can ensure that the submitted form values are of the correct type (int, float, string, array). Requires PHP 4 >= 4.1.0, or PHP 5.