客户端代码:
<form name="form1" action="提交的文件.php" method="post">
<input name="checkImg" type="text" id="checkImg" value="" size="10"/><img src="获取图片服务端程序文件.php">
<input type="submit" name="Submit" value="提交" />
</form>
获取图片服务端程序文件代码如下:
<?php
function report($len=3,$w=40,$h=20){
global $rnd_s;
if(function_exists("imagecreate"))//叛断是否支持创建图片
{
$rnd_s="";
更多的源代码请进入看
http://www.zc36.com/czc/info/info.php/id_5_info_606.html