[eluser]Unknown[/eluser]
Iconv Functions(iconv_*) is a basic run version PHP5.
The area of non-English is a error!
Why do you take the risk?
class CI_Form_validation
Code:
function min_length($str, $val)
{
if (preg_match("/[^0-9]/", $val))
{
return FALSE;
}
if (function_exists('mb_strlen'))
{
return (mb_strlen($str) < $val) ? FALSE : TRUE;
}
return (strlen($str) < $val) ? FALSE : TRUE;
}