3.2.3的验证码使用中文无法显示

浏览:372 发布日期:2015/10/18 分类:求助交流
是不是位置不对?                $code[$i] = iconv_substr($this->zhSet,floor(mt_rand(0,mb_strlen($this->zhSet,'utf-8')-1)),1,'utf-8');
                imagettftext($this->_image, $this->fontSize, mt_rand(-40, 40), $this->fontSize*($i+1)*1.5, $this->fontSize + mt_rand(10, 20), $this->_color, $this->fontttf, $code[$i]);
最佳答案
评论( 相关
后面还有条评论,点击查看>>