Return to Snippet

Revision: 41239
at February 14, 2011 21:32 by johnpaulhayes


Initial Code
// Sanitize the input
$ar= array(&$_REQUEST,&$_POST,&$_GET);
foreach ($ar as &$input) {
	foreach($input as $key=>&$value) {
		$value=strip_tags(trim($value));
	}
}

Initial URL

                                

Initial Description

                                

Initial Title
Remove tags from user input

Initial Tags

                                

Initial Language
PHP