<?php
function safe_func_array($arr)
{
foreach ( $arr as $key => $value ) {
$arr[$key] = safe_func($value);
}
return $arr;
}
function safe_func($str){
$vowels = array("\\","$","%","^","&","*",'<','>');
$str = str_replace($vowels, "", $str);
empty($str) && $str='';
return $str;
}
function safe_func_path($str){
$vowels = array("\\", "'", "\"");