• 自动识别电脑与手机并进入相应页面

    把以下代码保存为一个asp文件,如默认首页文件index.asp, <% Response.Buffer = TRUE httpAccept = LCase(Request.ServerVariables("HTTP_ACCEPT")) if Instr(httpAccept,"wap") then Response.Redirect "/wap/index.asp"               ‘WAP...
    作者:追忆 | 分类:网站技术 | 阅读:7,798次