实现验证码的代码是:
public function verify() {
//$type = isset($_GET['type'])?$_GET['type']:'gif';
import("ORG.Util.Image");
Image::buildImageVerify();
}
用到的其中的Image类在ThinkPHP\Extend\Library\ORG\Util\Image.class.php
TP的验证码是存放在SESSION中,并不放在在具体的目录中,你说的应该是验证码的类吧