Today I will introduce to you about
implementing PHP verification code call in the template
- < input name="checkcodestr"
type ="text" size="15"> -
< img src="{PHPCMS_PATH}checkcode.
php" id="checkcode" style="cursor:pointer;"
alt="Verification code, can’t see clearly? Please click to refresh the verification code"
align="absmiddle"/>
The php code to verify whether the PHP verification code call is correct
- checkcode($checkcodestr ,
$PHPCMS['enableadmincheckcode']
, $PHP_REFERER);
The function prototype is as follows:
checkcode($checkcode, $enable = 1, $forward = '')
$checkcode is the value entered by the user, $enable is whether the current PHP verification code call is enabled, $forward specifies the verification when the user inputs Jump address after code error.
http://www.bkjia.com/PHPjc/445925.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445925.htmlTechArticleToday I will introduce to you about implementing PHP verification code call in the template input name = checkcodestr type = text size = 15 img src = {PHPCMS_PATH}checkcode. php id = checkcode style =...