21,886
社区成员
发帖
与我相关
我的任务
分享
if(!empty($_POST['reg_submit1'])){
include_once $_SERVER['DOCUMENT_ROOT'] . '/securimage/securimage.php';
$securimage = new Securimage();
if ($securimage->check($_POST['captcha_code']) == false) {
// the code was incorrect
// handle the error accordingly with your other error checking
// or you can do something really basic like this
show_error("您输入的编码不正确。");
}