<sc
function fleshVerify(){
//重载验证码
var timenow = new Date().getTime();
document.getElementById("verifyImg").src= '__URL__/verify/'+timenow;
}
</sc
<img id="verifyImg" SRC="__URL__/verify" on
action:
//图片验证码
public function verify() {
$type = isset($_GET['type'])?$_GET['type']:'gif';
import("@.ORG.Util.Image");
Image::buildImageVerify(4,1,$type);
}
在ubuntu底下 提示:因其本身有错无法显示
windows底下正常,gd库已启用了


最佳答案