一、登录

<form action="index.php?m=admin&c=index&a=login&dosubmit=1" method="post" name="myform">
用户名:<input name="username" type="text" class="ipt" value="" /><br />
密码:<input  name="password" type="password" class="ipt" value="" /><br />
验证码:<input name="code" type="text" class="ipt ipt_reg" onfocus="document.getElementById('yzm').style.display='block'" />
<img id='code_img' onclick='this.src=this.src+"&"+Math.random()' src='http://localhost/phpcms/api.php?op=checkcode&code_len=4&font_size=20&width=130&height=50&font_color=&background='>
<br />
<a href="javascript:document.getElementById('code_img').src='http://localhost/phpcms/api.php?op=checkcode&m=admin&c=index&a=checkcode&time='+Math.random();void(0);">单击更换验证码</a>
<input name="dosubmit" value="登陆" type="submit" class="login_tj_btn" />
</form>
View Code

相关文章:

  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2021-05-15
  • 2021-05-25
  • 2021-11-12
  • 2022-12-23
  • 2021-07-31
猜你喜欢
  • 2022-02-11
  • 2021-10-03
  • 2021-07-22
  • 2021-05-01
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
相关资源
相似解决方案