function strip_slashes($str) { if (!
is_array($str)) { return stripslashes($str);
} foreach ($str as $key =>
$val) { $str[$key] =
strip_slashes($val);
} return $str;
}}if (!
function_exists('strip_quotes'
)) { /**
* Strip Quotes
*
* Removes single and double quotes from a string
*/