PHP新手,验证码问题
下了个开源代码研究,遇到验证码的问题,请教下,以下是错误代码:
errID:2
errStr:imagettftext() [function.imagettftext]: Problem loading glyph
errFile:IWEB_PATH/coreutilcaptcha_class.php
errLine:256
errTime:11-09-22 14:38:21
##出错时变量的值:##
array (
'text' => 'nuheb',
'fontcfg' =>
array (
'spacing' => 2,
'minSize' => 22,
'maxSize' => 24,
'font' => 'font.ttf',
),
'fontfile' => 'E:\php\lib\core\util/font.ttf',
'lettersMissing' => 0,
'fontSizefactor' => 1,
'x' => 60,
'y' => 91,
'length' => 5,
'i' => 0,
'degree' => -5,
'fontsize' => 78,
'letter' => 'n',
)
-------
------解决方案--------------------
show me the code~
------解决方案--------------------
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号