|palm|palmos|pocket|portalmmm|ppc;|smartphone|sonyericsson|sqh| Spv|symbian|treo|up.browser|up.link|vodafone|windows ce|xda |xda_)/I ', $_server[' http_user_agent ']) {
return true;
}
else{
return false;
}
}
And then a split from the PHP framework to determine whether the mobile phone mobile terminal functions:
Copy Code code as follows:
function Is_mobile_request ()
{
$_server[' all_http '] = isset ($_server[' all_http '))?
|portalmmm|ppc;|smartphone|sonyericsson|sqh| Spv|symbian|treo|up.browser|up.link|vodafone|windows ce|xda |xda_)/I ', $_server[' http_user_agent ']) {return
true;
}
else{return
false;
}
A function that is stripped from the PHP frame to determine if it is a mobile terminal: (tested, very comprehensive, recommended for use)
function is_mobile_request () {$_server[' all_http '] = isset ($_server[' all_http '])?
With the development of computing technology and wireless access technologies, embedded systems are gradually able to support the regular business of desktop system.
Google's long-running strategy for mobile development: By partnering with handset makers and mobile operators around the world to develop existing and attractive mobile services and promote them. Android has further advanced the enterprise goal of "providing information to everyone, anytime, anywhere."
Open Handset Alliance br
strength ----------- Bar Chart Display
-40 to-77 -------------------- 5
-78 to-86 ------------------ 4
-87 to-92 ------------------ 3
-93 to-101 ------------------- 2
-102 to-120 ------------------ 1
Tip 6
Set single-key dialing
Press and hold a button in the window to display the window for setting single-key dialing. I don't need to talk about the rest, do I?
Tip 7
Record information on phone
On the phone, press the scroll wheel and select remarks from the menu. You can record important infor
:
(1) use the service code to directly address ussd nodes and external business nodes;
(2) The business code is only responsible for guiding to the ussd node, and then according to the address carried in the ussd string, the node is directed to the businessService node. This feature enables users to access multiple external business nodes in a dialog, provided thatAll operations must carry the addresses of external business nodes (such as the IP addresses of business book points ).
2. Applicatio
occurs, you can paste the whole graph to the left without any gaps.
Imode (9xx)
1. Always getcolorbyrgb. Do not use 0xff1234 or another color. It may be abnormal or uncolored.
2. image problems may occur when loading a 240*240 larger image.
3. Sometimes big pictures cannot be displayed.
4. imode mobile games must involve networks and must properly handle network unavailability.
5. The usenetwork value is HTTP.
6. The usebrowser value is launch. If you need to open the browser
7. Press the call
the markets outside the United States and Canada. In China, the world's largest mobile market, the officially licensed Android system is growing. The first thing to bear the brunt is the ophone OS launched by China Mobile, a state-owned enterprise last year. Motorola is also developing Android phones for Chinese users. The default search engine is Baidu. In Europe, the French "figalo" newspaper last week said France Telecom-orange, Germany Deutsche Telekom, Spain Telefonica and the British
How PHP identifies a computer or mobile phone to visit a website
Now through the mobile phone access to the site more and more popular, if we want to count the website through the PC, mobile phone mobile side of the situation, or need to do some special processing mobile phone, then we need to visit the site of the user's client to do the identification, The following example is a way to identify whether a user is a computer or a mobile phone through PHP.
0. $matches [0]: '; $mobile _os_list=
|sonyericsson|sqh| Spv|symbian|treo|up.browser|up.link|vodafone|windows ce|xda |xda_)/I ', $_server[' http_user_agent ']) {return true;}else{return false;}}Another way to decide whether to peel from the PHP framework is the function of the Mobile Terminal: (tested, very comprehensive, recommended)Copy CodeThe code is as follows:function Is_mobile_request (){$_server[' all_http ' = isset ($_server[' all_http '])? $_server[' all_http ': ';$mobile _brows
| Spv|symbian|treo|up.browser|up.link|vodafone|windows ce|xda |xda_)/I ', $_server[' http_user_agent ']) { return true; } else{ return false; }}
Another way to decide whether to peel from the PHP framework is the function of the Mobile Terminal: (tested, very comprehensive, recommended)
function Is_mobile_request () {$_server[' all_http '] = isset ($_server[' all_http '])? $_server[' All_http ']: '; $mobile _browser = ' 0 '; if
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.