孤独的猫

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

<html>

    <head>

    <title>浏览器选择</title>

 <%

        Dim BrowseMsg

        BrowseMsg=Request.ServerVariables("HTTP_USER_AGENT")

        Response.Write(BrowseMsg)

        If Instr(BrowseMsg,'FireFox')>0 then

            Response.Write('为FireFox浏览器')

        Else

            If instr(BrowseMsg,'MSIE')>0 then

                Response.Write('为IE')

            End If

        End If

    %>

</html>

posted on 2008-09-24 16:57  孤独的猫  阅读(172)  评论(0编辑  收藏  举报