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

(编辑:jimmy 日期: 2024/9/22 浏览:2)

复制代码 代码如下:
<% 
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 
%>  

一句话新闻
Windows上运行安卓你用过了吗
在去年的5月23日,借助Intel Bridge Technology以及Intel Celadon两项技术的驱动,Intel为PC用户带来了Android On Windows(AOW)平台,并携手国内软件公司腾讯共同推出了腾讯应用宝电脑版,将Windows与安卓两大生态进行了融合,PC的使用体验随即被带入到了一个全新的阶段。