Home > Backend Development > PHP Tutorial > PHP 判断当前扫码的客户端浏览器类型

PHP 判断当前扫码的客户端浏览器类型

WBOY
Release: 2016-06-06 20:13:51
Original
1685 people have browsed it

用户通过 微信 / 支付宝 / 百度钱包 扫码. 获取当前扫码的客户端类型.

回复内容:

用户通过 微信 / 支付宝 / 百度钱包 扫码. 获取当前扫码的客户端类型.

<code> Mozilla/5.0 (iPhone; CPU iPhone OS 9_2_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13D15 ChannelId(2) PSDType(1) AlipayDefined(nt:WIFI,ws:320|504|2.0) AliApp(AP/9.5.5.030815) AlipayClient/9.5.5.030815 Language/zh-Hans</code>
Copy after login

支付宝ua,iphone上的
我觉得有必要喷你一下,只要你用客户端访问任意一个网址都可以产生ua,你输入一个自己的网址,比如我的10.0.1.2/ua.php,然后用支付宝访问就能获取ua,为什么非要等审核通过呢?

可以通过ua获得浏览器信息啊

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template