//检查年纪是否数字 if(is_numeric($_POST['year']) AND (strlen($_POST['year']==4)){ if ($_POST['year'] < 2011) { $age=2014-$_POST['year'];} else { print '<p class="error">Either you entered your birth year wrong or you come from the future!</p>'; $okay=FAlSE;} } else { // 不满足条件1,则: print '<p class="error">Please enter the year you were born as four digits.</p>'; $okay = FALSE; }以上是代码,以下是出现的问题:PHP Fatal error: Call to undefined function (strlen() in ***, 其中extension=php_mbstring.dll 关面的分号我已经去掉。PHP 5.3版本 加IIS7.5
绝地无双
慕田峪4524236