PHPҳֻ΢в鿴ʾ-Ѷ-΢ſ-Ƽ
Ƽ վ:ϾӢ|΢|
վҳhome վweb Const ϵͳSystem Dev ΢ſwx Dev վƹWebsite SEO վWebsite SM ͻClient case վģWeb template About us
΢ſ
΢ϵͳ ΢ſ ںŻ̳ Ѷ ںƹӪ ͻ
ϵ
QQȺ:28519571 ʱ:86-0898-31568080 :86-0898-31568085 24Сʱ:0138-07590485
 ڵλã ҳ >> ΢ſ >> Ѷ Ѷ
PHPҳֻ΢в鿴ʾ
Ƽ | 2018-01-26 23:56:49 | Ķ:799
΢ǻˣΧ΢ſӦҲԽԽˣǰʱ䣬Լ˾ҪPHPдһ΢ӦãΪ˷ֹԼдɵPHPӦñãͨPHPƣֻ΢Դвܴ򿪱Ӧãһʼͷ󾭶֤⹦ŪˣڰѾĴҡ
  1. <?php
  2. $useragent = addslashes($_SERVER['HTTP_USER_AGENT']);
  3. if(strpos($useragent, 'MicroMessenger') === false && strpos($useragent, 'Windows Phone') === false ){
  4. echo " Sorry΢ܷ";
  5. }else{
  6. echo "Է";
  7. }
  8. ?>
ƴ

עαHTTP_USER_AGENˡڹȸװUser-Agent SwitcherͬҲɷʡ뵽JSжDzֻʣͬܳ׽⣬ΪͻֹJS÷ʧЧˣ룬ҳҼһֻѵһЩˣ
繫˾|վ|վŻ|վ|ƹ|ҳ|ͨվ|վ|ҵ΢|΢Ӫ|΢ŵ|΢Žվ|ϾӢ||Ƽ|վ|վ|վ|վ|վ|ָɽվ|IJվ|վ|վ|վ|վ|Ͳվ|վ|ٸվ|ɳվ|վ|ֶվ|ˮվ|ͤվ|վ
ҵչ ҵĻ ϵ ߶ վͼ ҳ
޺ƽ̨2018Ȩ 24Сʱ: ӭѯ
ַʡ..·ݴ6¥ϱ·107# ˾绰 QQ:
ȫ˷ֲϺڡĴɶ人ϳɳպϷʡ㶫ڡɽ̫ԭ
: 񶩹 ߿ͷ /Ӫɺ:
ƹؼ֣վ,վ,վ,΢ſ,΢Źںſ,΢ŹںŴӪ,ģվ,ҳ,繫˾

߿ͷ ҵѯ ѯ
ɨֱϵ