[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_handlers/ -> input_class.php (sommaire)

(pas de description)

Poids: 78 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

einput:: (3 méthodes):
  escape()
  sql_escape_string()
  strip_input()


Classe: einput  - X-Ref

User input cleaning class

escape($string, $gpc_data = true)   X-Ref
Pas de description

sql_escape_string($string = "")   X-Ref
Escape SQL data to help prevent injections

param: string $string [dirty input data]
return: string [escaped data]

strip_input($string = "", $ignore_magic_quotes_gpc = false)   X-Ref
Strip slashes from string, for use before escaping data for sql queries - takes into account magic_quotes_gpc setting, i.e. only stips if it's on - or the second arg is true

param: string $string [input string]
param: bool $ignore_magic_quotes_gpc [overide magic_quotes_gpc setting, i.e. always strip slashes
return: string



Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7