Function mr_requestCleanup
Request cleanup function. Request data is allways tainted and must be filtered. Pass the array to cleanup using several options. Emulates array_walk_recursive().
Package: Plugin\ModRewrite
Copyright: www.polycoder.de
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Stefan Seifarth / stese
Author: Murat Purc <murat@purc.de>
Located at plugins/mod_rewrite/includes/functions.mod_rewrite.php
Copyright: www.polycoder.de
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Stefan Seifarth / stese
Author: Murat Purc <murat@purc.de>
Located at plugins/mod_rewrite/includes/functions.mod_rewrite.php
mixed |
& $data |
Data to cleanup |
array |
$options = null |
Default options array, provides only 'filter' key with several filter functions which are to execute as follows: <code> $options['filter'] = array('trim', 'myFilterFunc'); </code> If no filter functions are set, 'trim', 'strip_tags' and 'stripslashes' will be used by default. A userdefined function must accept the value as a parameter and must return the filtered parameter, e. g. <code> function myFilter($data) { // do what you want with the data, e. g. cleanup of xss content return $data; } </code> |
mixed
|
Cleaned data |