Generally http_accept this server variable contains the following string, it can be determined that the cell phone
Source: Internet
Author: User
Know the user,
IT industry practitioners Cui Vincent, the user agrees to the current mobile browser standards are not the same, each has its own browser, is generally http_accept this server variable if it contains the following string, you can determine the cell phone
Text/vnd.wap.wml
Application/vnd.wap.xhtml+xml
A special example is the opera on that phone, which does not send http_accept when it sends it to support TEXT/VND.WAP.WML documents, but it sends support XHTML documents with MIME type: Application/xhtml+xml
So it should be possible to determine that three contained strings are included.
Text/vnd.wap.wml
Application/vnd.wap.xhtml+xml
Application/xhtml+xml
But in this way, opera on the computer will also visit the WAP station, its own choice
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