Python语言技术文档

微信小程序技术文档

php语言技术文档

jsp语言技术文档

asp语言技术文档

C#/.NET语言技术文档

html5/css技术文档

javascript

点击排行

您现在的位置:首页 > 技术文档 > asp技巧

asp_WAP获取手机终端信息的一段代码

来源:中文源码网    浏览:186 次    日期:2024-05-10 07:34:45
【下载文档:  asp_WAP获取手机终端信息的一段代码.txt 】


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 %>

相关内容