读书人

:哪位大侠客帮下小弟我,input中用POST

发布时间: 2012-03-09 21:42:55 作者: rapoo

求助:哪位大侠客帮下我,input中用POSTFIELD没有关传递到服务器
我的程序如下,

login.asp文件,部分
<card id="login" title="用户登陆">
<p align="left">
<b><big>用户登陆</big></b>
<input name="username" title="用户登陆" type="text" emptyok="false" maxlength="10"/>
<br/>
<b><big>用户密码</big></b>
<input name="password" title="用户密码" type="password" emptyok="false" maxlength="10"/>
<do type="accept" label="确定">
<go href="check_indentity.asp?username=$username?/>
</do>
<do type="accept" label="返回">
<go href="main_page.asp" menthod="post">

</go>
</do>

</p>

</card>

check (部分,检查密码和用户名)
use1=request.form("username")
psw1=request.form("password")
response.write "ok"&psw1
exec= "select * from userid where username='"&use1&" ' and password=' "&psw1&"'"

rs.open exec,conn,1,3
response.write exec

if rs.eof then
response.write ""
end if

%>

</card>
</wml>

问题是:我的request.form("username"),request.form("password")
得到的得是空,我用response.write 输出来看过了!1

求大侠们帮下忙

[解决办法]
<go href="check_indentity.asp?username=$username?/ >
怎么是问号?引号呢? 你就传了一个username,password去哪了?
[解决办法]
不知,帮顶
[解决办法]
lz要干嘛?

读书人网 >移动应用

热点推荐