1
HTML Purifier Posting Arrays
HTML Purifier posting arrays example
$getdata = $_POST['getdata'];
/**
* myFilter()
*
* @return
*/
function myFilter($value) {
global $purifier;
$value = $purifier->purify($value);
return $value;
}
$getdata = array_map("myFilter",$getdata);
print_r($getdata);
rated 1 times
(1)
(0)
comments: 1 / hits: 1958
/ 4 years ago, thu, mar 16, 17, 05:51:45
More From
» PHP
Comments
There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account