1.如何用Asp判断你的网站的虚拟物理路径 4e .19H9
答:使用Mappath方法
FXn98UF Y
< p align="center" >< font size="4" face="Arial" >< b > }uC]o@/
The Physical path to this virtual website is: 3.hFYA w
< /b >< /font > Ayg^<)JWh
< font color="#FF0000" size="6" face="Arial" > SCe$v76p#
< %= Server.MapPath("\")% > r-xP6
< /font >< /p > lw}7kp4
2F
2.我如何知道使用者所用的浏览器? @x}^2FE
答:使用the Request object方法 G~bDl:k`A
strBrowser=Request.ServerVariables("HTTP_USER_AGENT") nw+^@|4
If Instr(strBrowser,"MSIE") < > 0 Then C96*,.j~'
Response.redirect("ForMSIEOnly.htm") 0A~UuH0.
Else 7RBEEE`)
Response.redirect("ForAll.htm") (3D&