Home > Backend Development > PHP Tutorial > 简单的php验证码生成

简单的php验证码生成

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 13:33:36
Original
734 people have browsed it

	//生成图片	$width="100";	$height="50";		//生成一个背景,默认黑色	$img=imagecreatetruecolor($width, $height);		//生成颜色	$background=imagecolorallocate($img,200,200,200);	$white=imagecolorallocate($img,255,255,255);	$blue=imagecolorallocate($img,0,0,64);		//替换背颜色	imagefill($img,0,0,$background);		//加入线条	for ($i=1;$i  <br> 
Copy after login
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