php生成各种验证码
```<script type="text/javascript" src="jquery.min.js"></script>
<div id="main">
<div class="demo">
<h3>1、数字验证码</h3>
<p>验证码:<input type="text" class="input" id="code_num" name="code_num" maxlength="4" /> <img src="code.php?act=num" οnclick="javascript:this.src=this.src + '?t=' +Math.random();" id="getcode_num" title="看不清,点击换一张" align="absmiddle"></p>
<p><input type="button" class="btn" id="chk_num" value="提交" /></p>
</div>
<div class="demo">
<h3>2、数字+字母验证码</h3>
<p>验证码:<input type="text" class="input" id="code_char" maxlength="4" /> <img src="code.php?act=char" οnclick="javascript:this.src=this.src + '?t=' +Math.random();" id="getcode_char" title="看不清,点击换一张" align="absmiddle"></p>
<p><input type="button" class="btn" id="chk_char" value="提交" /></p>
</div>
<div class="demo">
<h3>3、中文验证码</h3>
<p>验证码:<input type="text" class="input" id="code_zh" maxlength="4" /> <img src="code.php?act=zh" οnclick="javascript:this.src=this.src + '?t=' +Math.random();" id="getcode_zh" title="看不清,点击换一张" align="absmiddle"></p>
<p><input type="button" class="btn" id="chk_zh" value="提交" /></p>
</div>
<div class="demo">
<h3>4、仿google验证码</h3>
<p>验证码:<input type="text" class="input" id="code_gg" maxlength="4" /> <img src="code.php?act=gg" οnclick="javascript:this.src=this.src + '?t=' +Math.random();" id="getcode_gg" title="看不清,点击换一张" align="absmiddle"></p>
<p><input type="button" class="btn" id="chk_gg" value="提交" /></p>
</div>
<div class="demo">
<h3>5、算术验证码&l