Home > Backend Development > PHP Tutorial > 验证码问题。谢谢。

验证码问题。谢谢。

WBOY
Release: 2016-06-23 13:19:02
Original
1056 people have browsed it

验证码地址: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服务器什么问题。求解答


回复讨论(解决方案)

有高人吗???

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template