/php-sql-no-inject

PHP SQL no inject - possible to remove sql injection

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

SQL no inject and friends

PHP SQL no inject - possible to remove sql injection

Usage

  1. include this file at the top of your PHP scripts
  2. set auto_prepend to this file
  3. Edit protection setting at /* setting */ line, that suitable with you.

Additional

This file contains useful functions that can use in your code.

  1. _null()
  2. _array()
  3. array_map_recursive(
  4. _strip_html_tags(
  5. _unregister_globals()
  6. _escape_html()
  7. _escape_xss()
  8. _query_escape()
  9. _num_escape()
  10. _dec_escape()
  11. _date_escape()
  12. _str_escape()
  13. remove_sql_inject()

Contact

For bug report and others, please email to nawawi(at)rutweb.com