1.如何用Asp判断你的网站的虚拟物理路径 yy3-Xu4
答:使用Mappath方法 8 =<&9TmE
< p align="center" >< font size="4" face="Arial" >< b > iX'#~eK*<
The Physical path to this virtual website is: Rlf#)4
< /b >< /font > :E9 @9>3S
< font color="#FF0000" size="6" face="Arial" > 2SVJKX_V+
< %= Server.MapPath("\")% > z2A1h!Me
< /font >< /p > tJY3k$YX
2.我如何知道使用者所用的浏览器? lMBXD?,,J
答:使用the Request object方法 =arrp:
strBrowser=Request.ServerVariables("HTTP_USER_AGENT") olf7L%
If Instr(strBrowser,"MSIE") < > 0 Then A@ lY{e
Response.redirect("ForMSIEOnly.htm") GSu&Z