您现在的位置是:网站首页> 编程资料编程资料
asp WAP获取手机终端信息的一段代码_应用技巧_
2023-05-25
359人已围观
简介 asp WAP获取手机终端信息的一段代码_应用技巧_
复制代码 代码如下:
<%
Dim Ip,number,mobiletype,loca,uri
Dim Conn,Sql,Rs
Ip=Request.ServerVariables("REMOTE_ADDR")
uri=Request.ServerVariables("PATH_INFO")
number1=Request.ServerVariables ( "HTTP_x-up-calling-line-id" )
mobile1=Request.ServerVariables ( "HTTP_User-Agent" )
number = Right(number1,Len(number1)-2)
mobile2 = Split(mobile1,"/")
mobiletype=mobile2(0)
loca=Request.Cookies( "CUI" )
Sql="Select * From Visitor order By Id DESC"
Rs.Open Sql,Conn,1,3
Rs.Addnew
Rs("SDate")=date
Rs("STime")=time
Rs("IP")=Ip
Rs("UserNo")=number
Rs("MobileType")=mobiletype
Rs("CUI")=loca
Rs("URI")=uri
Rs.Update
Rs.Close
Conn.Close
Set Rs=Nothing
Set Conn=Nothing
%>
相关内容
- asp获取客户端某一个图片的x,y坐标的代码_应用技巧_
- asp在IE浏览器中下载服务端上的各类文件的实现方法_应用技巧_
- 用ASP实现写IIS日志的代码_应用技巧_
- 用asp实现访问远程计算机上MDB access数据库文件的方法_应用技巧_
- 可以获得文件的文件名的asp函数_应用技巧_
- isnumeric检测是否为数字类型的asp代码_应用技巧_
- [asp]阿里西西的alexa采集效果代码_小偷/采集_
- 使用ODBC数据库管理Serv-U的FTP用户及相关ASP编程[附源码示例下载]_应用技巧_
- asp中xmlhttp组件发包_小偷/采集_
- 易心asp分页类 v1.0_ASP CLASS类_
