描述:PublicAction.class.php的代码如下
<?php
class PublicAction extends Action{
public function verify(){
import('ORG.Util.Image');
Image::buildImageVerify();
$this->display();
}
}
?>验证码的代码如下验证码:<input type="text" name="code">
<img src="!-APP-!/Public/verify" onclick='this.src=this.src+"?"+Math.random()'/>扩展的类库文件确认有(我下的是3.1.3的完整版);是在是找不出原因了,runtime删掉,重新生成也没作用~


最佳答案