<!doctype html> <html lang="en"> <head> <meta name="Generator" content="EditPlus?"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> <title>Document</title> </head> <body> <!doctype html> <html lang="en"> <head> <meta name="Generator" content="EditPlus?"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> <title>Document</title> </head> <body> <center> <h1>中均运维管理平台</h1> <!--图片标签--> <img class="img_bk" src="__PUBLIC__/Images/scan.jpg"/> </center> <!--表单提交--> <form action='loginok.html' method='get' name="myForm"> <center> <table cellspacing="0" cellpadding="0"> <tr> <td class="td1">用户名:</td> <td><input type="text" name="username"/></td> <td class="td3"></td> <tr/> <tr> <td class="td1">密码:</td> <td><input type="password" name="password"/></td> <td class="td3"></td> <tr/> <tr> <td class="td1">验证码:</td> <td> <input type='text' name='code' /></td> <td class="td3"><img src="__APP__/Public/code" onclick='this.src=this.src+"?"+Math.random()'/></td> </tr> <center> <tr> <td class="td1"></td> <td align="center" ><input type="submit" name="login" value="login" /></td> </tr> <center/> <center/> </form> </body> </html> </body> </html> submit 登录: http://localhost/thinkphp/myhome/loginok.html?username=wrew&password=rwr&code=wr&login=login get方式会在浏览器中显示参数