ThinkPHP verification code display problems, please explain !!! This is the code: & lt; p & gt; verification code: & lt; input & nbsp; typetext & nbsp; namevircode & nbsp; onkeyupreturn & nbsp; login_chkcode (& nbsp; this & nbsp;); & nbsp; & nbs ThinkPHP verification code display question. please explain it !!!
This is the code:
Verification code:
Then the local display is normal:
And then upload it to the server:
Then ff reports the following error:
This is the verification code:
Function verify (){
Import ("ORG. Util. Image ");
Image: buildImageVerify ();
}
Please help us to see how this will not be displayed after it is uploaded to the server ??
------ Solution --------------------
Function fleshVerify (){
// Reload the verification code
Var timenow = new Date (). getTime ();
$ ('# VerifyImg'). attr ("src", "{: U ('admin-Login/verify/')}" + timenow );
} // This is js
// Have you uploaded the file completely?
------ Solution --------------------
Are the GD library extensions enabled on the server?