Home  >  Article  >  Backend Development  >  验证码问题。谢谢。

验证码问题。谢谢。

WBOY
WBOYOriginal
2016-06-23 13:19:021024browse

验证码地址:http://www.whjhlc.com/vcode
phpinfo地址:http://www.whjhlc.com/php

gd貌似正常

代码:
$im = imagecreatetruecolor(120, 20);
$text_color = imagecolorallocate($im, 255, 0, 0);
imagestring($im, 1, 5, 5,  'A Simple Text String', $text_color);
header('Content-Type: image/jpeg');
imagejpeg($im);
imagedestroy($im);

不知道liunx服务器什么问题。求解答


回复讨论(解决方案)

有高人吗???

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn