PHP Tarayıcı Algılama ve Yönlendirme

2 Cevap php

Tümü,

Benim uygulama IE7 +, Mozilla ve diğer modern tarayıcılarını destekler. Herkes çok iyi bir tarayıcı algılama ve yönlendirme PHP sınıfı biliyor musun? Ben bu geldi, ama herkes bu kullanılırsa emin değilim:

http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/#typicalusage

Teşekkürler

2 Cevap

All you need is get_browser() and a recent browscap.ini that maps the user-agent string to a browser/version and its capabilities. You can get a usually very up-to-date browscap.ini version from http://browsers.garykeith.com/downloads.asp

Kaynak: @ VolkerK

WURLF mobil tarayıcı algılama ve bir PHP API için nihai yoldur kullanılabilir olduğunu

Source: kgiannakakis

PHP kullanmak get_browser

get_browser — Tells what the user's browser is capable of