致命错误:调用未定义的函数mb_strlen()
我正在尝试建立一个捐赠中心,使用的是Totorialzine的源代码。 到目前为止,到目前为止一切都对我来说还算不错,但是我一直在苦苦挣扎并试图整天查看的唯一问题,无法确切知道代码的实际错误所在 这是我的访客捐赠时在页面上提交评论时得到的。 Fatal error: Call to undefined function mb_strlen() in /home/yoursn0w/public_html/livetv/premium/thankyou.php on line 14 这是php文件中的代码。 <?php require "config.php"; require "connect.php"; if(isset($_POST['submitform']) && isset($_POST['txn_id'])) { $_POST['nameField'] = esc($_POST['nameField']); $_POST['websiteField'] = esc($_POST['websiteField']); $_POST['messageField'] = esc($_POST['messageField']); $error = array(); if(mb_strlen($_POST['nameField'],"utf-8")<2) { $error[] = 'Please fill in a valid name.'; } if(mb_strlen($_POST['messageField'],"utf-8")<2) { …