1.如何用Asp判断你的网站的虚拟物理路径 {iq^CHAVK
答:使用Mappath方法 s?; V!t
< p align="center" >< font size="4" face="Arial" >< b > '/Vm[L$d
The Physical path to this virtual website is: ;"e55|d9I
< /b >< /font > b "}ya/
< font color="#FF0000" size="6" face="Arial" > IG;=
|
< %= Server.MapPath("\")% > Oml3=TV
< /font >< /p > 9-&@Y
2.我如何知道使用者所用的浏览器? dD'KP4Io@
答:使用the Request object方法 $AvaOI.l
strBrowser=Request.ServerVariables("HTTP_USER_AGENT") qK@,O\
If Instr(strBrowser,"MSIE") < > 0 Then Y#-c<o}f
Response.redirect("ForMSIEOnly.htm") OVgak>$
Else EG &