验证码不显示

浏览:2269 发布日期:2013/05/13 分类:求助交流
环境Win7+IIS
<?php
class PublicAction extends Action{
function Validate(){
import("ORG.Util.Image");
Image::buildImageVerify();
}
}
?>

<img src="__APP__/Public/Validate" onclick='this.src=this.src+"?"+Math.random()'/>
运行http://localhost:8080/Index.php/Public/Validate显示错误
:(
Call to undefined function imagecreate() D:\www\MarketingManage\ThinkPHP\Extend\Library\ORG\Util\Image.class.php 第 305 行.
错误位置
FILE: D:\www\MarketingManage\ThinkPHP\Lib\Core\Think.class.php  LINE: 275
TRACE
[13-05-13 15:38:05] D:\www\MarketingManage\ThinkPHP\Lib\Core\Think.class.php (275) halt(Call to undefined function imagecreate() D:\www\MarketingManage\ThinkPHP\Extend\Library\ORG\Util\Image.class.php 第 305 行.)
[13-05-13 15:38:05] D:\www\MarketingManage\ThinkPHP\Lib\Core\Think.class.php (290) Think::appError(1, Call to undefined function imagecreate(), D:\www\MarketingManage\ThinkPHP\Extend\Library\ORG\Util\Image.class.php, 305)
[13-05-13 15:38:05] () Think::fatalError()
ThinkPHP3.1.2 { Fast & Simple OOP PHP framework } -- [ WE CAN DO IT JUST THINK ]
最佳答案
评论( 相关
后面还有条评论,点击查看>>