How does the Web page know that the user is currently accessing the phone or through the 3G/4G network?

Source: Internet
Author: User
Keywords Php
Vaguely remember the past seems to have seen what the header information can be judged, to use the found.
It should be as long as the mobile network access, operators will be in the header to add some information. Can someone give it to you?

Reply content:

Vaguely remember the past seems to have seen what the header information can be judged, to use the found.
It should be as long as the mobile network access, operators will be in the header to add some information. Can someone give it to you?

This is the reason for the browser,

Android UserAgent, there's a nettype/wifi inside

Mozilla/5.0 (Linux; U; Android 4.4.4; zh-cn; m1 note Build/KTU84P) AppleWebKit/533.1 (KHTML, like Gecko)Version/4.0 MQQBrowser/5.4 TBS/025489 Mobile Safari/533.1 MicroMessenger/6.3.13.49_r4080b63.740 NetType/WIFI Language/zh_CN

Iosuseragent same Nettype/wifi

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.