上做一个客户的网站的
运行示例表单验证时,验证码不显示.在网站网络上搜索,试了各种方法 最后修改下面的代码后居然成功,很不理解.
\Examples\Validate\Lib\Action\IndexAction.class.php
public function verify()
{
$type = isset($_GET['type']) ? $_GET['type'] : 'gif';
import("@.ORG.Image");
Image::buildImageVerify(4,1,$type);
}
把 Image::buildImageVerify(4,1,$type); 中的$type出掉 或者把上的gif改成 png时能显示.
不修改在firefox中就会显示 图像因其本身有错无法显示问题修复....