上环证明在哪里开:怎样编写一个能向网页的表单里面输入注册信息的程序?

来源:百度文库 编辑:神马品牌网 时间:2024/04/27 06:06:10
可以用ASP吧,如果能用就把代码写给我。
如果能用VB编写更好(我想应该用VB没法连接网页里的表单)
我能不能用我的网页代码连接别人的网页里的表单,并向里面输入注册信息。

1.先做个表单 , 如下(简单起见,内容少):
<FORM name='UserReg' action='Post.asp' method='post'>
<INPUT maxLength=14 size=30 name=UserName>
<INPUT type=password maxLength=12 size=30 name=Password>
</form>

2.再做个提交页, 保存为post.asp
<%
sqlReg="select * from [User]"
set rsReg=server.createobject("adodb.recordset")
rsReg("UserName")=request("UserName") '这两行取参数
rsReg("Password")=request("Password")
rsReg.close
set rsReg=nothing
%>
3. ok了