阿四的布拉格

正直,善良,脚踏实地!

« 基于“理性”的五种网络商业逻辑SEO教程之增加高质量外链N个方法 »

WAP手机建站:用asp程序来判断是电脑上网还是手机上网?

<%
if InStr(LCase(Request.ServerVariables("HTTP_ACCEPT")),"text/vnd.wap.wml")>0 then
response.redirect "404.wml" '如果是手机访问则跳转到wap.asp
response.end
else
response.redirect "index.asp" '如果电脑访问跳转到首页
response.end
 end if
%>

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

comments

Previous

Powered By 南通网站建设,南通网站优化Copyright 2006-2008 Aceblue.Cn All Rights Reserved.