ubuntu 底下 验证码不显示

浏览:1799 发布日期:2013/09/02 分类:求助交流
页面:
<script type="text/javascript">
function fleshVerify(){
//重载验证码
var timenow = new Date().getTime();
document.getElementById("verifyImg").src= '__URL__/verify/'+timenow;
}
</script>
<img id="verifyImg" SRC="__URL__/verify" onclick="fleshVerify();" width="80px" height="30px" style=" position:absolute; margin-left:20px; margin-top: 5px;" />

action:
//图片验证码
public function verify() {
$type = isset($_GET['type'])?$_GET['type']:'gif';
import("@.ORG.Util.Image");
Image::buildImageVerify(4,1,$type);
}
在ubuntu底下 提示:因其本身有错无法显示
windows底下正常,gd库已启用了

最佳答案
评论( 相关
后面还有条评论,点击查看>>