zdzc.asp
资源名称:wap.rar [点击查看]
上传用户:sking1122
上传日期:2020-09-24
资源大小:1005k
文件大小:2k
源码类别:
手机WAP编程
开发平台:
ASP/ASPX
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><?xml version="1.0" encoding="utf-8"?>
- <%response.buffer=true%>
- <%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
- <!--#include file="conn.inc"-->
- <wml><%
- '====================================================================
- ' 请你保留这段说明,这并不会影响你的速度. 电脑交流:http://www.cnscu.cn
- ' 程序制作:横云 掌上校园收倾心整理收集于互联网,感谢你的支持!
- ' 升级时间: 2008-2-5 主页地址:HTTP://wap.cnscu.cn
- ' E-Mail: cnscu@126.com 客服QQ:554904632 QQ群:30493504 QQ群2:46659883
- '====================================================================
- %> <head>
- <meta http-equiv='Cache-Control' content='no-cache'/>
- </head>
- <card title="自动注册">
- <p>
- <%sjhm=usb(request("sjhm"))
- ua=usb(request("ua"))
- if ua="" then ua="nokia3100"
- grip=Request.ServerVariables("REMOTE_ADDR")
- if len(sjhm)<>11 then response.redirect "cnscu_grdl.asp?cw=9"
- if left(sjhm,2)<>"13" and left(sjhm,2)<>"15" then response.redirect "cnscu_grdl.asp?cw=8"
- sid=Session.sessionid
- mmsb=sjhm+sid%>
- 手机号<%=sjhm%><br/>
- 浏览器<%=ua%><br/>
- <%set zhhy=Server.CreateObject("ADODB.Recordset")
- zhhssqly="select id from cnscu_gr order by id desc"
- zhhy.open zhhssqly,conn,1,1
- mmdd=zhhy("id")+1
- mmnini="会员("&mmdd&")"
- set zhh=Server.CreateObject("ADODB.Recordset")
- zhhssql="select * from cnscu_gr where cstr(sjhm)="&sjhm
- zhh.open zhhssql,conn,1,3
- if zhh.eof then
- zhh.addnew
- zhh("sjhm")=sjhm
- zhh("oopp")=ua
- zhh("mm")=right(sjhm,4)
- zhh("nini")=mmnini
- zhh("myip")=grip
- zhh("grsb")=mmsb
- zhh.update
- response.redirect "dyc.asp?idd="&mmdd&""
- else
- response.redirect "index.asp?cnscu="&zhh("grsb")&""
- end if%>
- +++++++++<br/>
- <!--#include file="w.asp"-->
- </p>
- </card>
- </wml>