<?php
header("Content-type: text/html; charset=utf-8");
$userAgent = $_SERVER['HTTP_USER_AGENT'];
if(strpos($userAgent,"iPhone") || strpos($userAgent,"iPad") || strpos($userAgent,"iPod")){
Header("HTTP/1.1 302 Moved Permanently");
Header("Location: http://ti.3g.qq.com/open/s?aid=clientjump&url=http://url.cn/dHeOrQ");
}else if(strpos($userAgent,"Android")){
Header("HTTP/1.1 302 Moved Permanently");
Header("Location: http://fusion.qq.com/app_download?appid=1103566659&platform=qzone&via=QZ.MOBILEDETAIL.QRCODE&u=262797544");
} else{
Header("HTTP/1.1 302 Moved Permanently");
Header("Location: http://ti.3g.qq.com/open/s?aid=clientjump&url=http://url.cn/d2KVkE");
}
?>
跳转问题
原创
©著作权归作者所有:来自51CTO博客作者wx5acf76b593c6d的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:CP强制覆盖
下一篇:umeng 渠道统计ios
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Servlet路径跳转问题
这篇文章主要介绍Servlet当中页面重定向应该如何正确地写地址的问题,首先来看一下Servlet的配置文件web.xml
java web servlet 重定向 斜杠 xml -
嵌套iframe跳转问题
我们在做系统的时候,尤其是一个页面一个系统的哪种,往往我们通过弹出window里面嵌
嵌套 session失效 解决方案 -
前后端分离模式 springboot
简述对前后端分离的工作模式的认识 一、前后端分离的基本概念 前端后端交互,基本上是基于http+json的形式。后端人员专注于提供数据,更重要职责是维护系统架构的稳定,保证数据的安全。前端人员专注于交互,快速响应UI的变化。 双方交互基于ht
前后端分离模式 springboot 前后端分离 json 提供数据