php4 에서의 stripos(), str_ireplace()
if(!function_exists("stripos")) { function stripos($srch,$str) { return strpos(strtolower($srch),strtolower($str)); } } function make_pattern_str_ireplace(&$pat, $key) { $pat = '/'.preg_quote($pat, '/').'/i'; } if(!function_exists('str_ireplace')){ function str_ireplace($search, $replace, $subject){ if(is_array($search)){ array_walk($search, 'make_pattern_str_ireplace'); } else{ $search = '/'.pr..