ciao ragazzi vorrei sapere secondo voi che codice usano in questo demo per capire il vero browser usato:
link
grazie a chi mi aiuterà![]()
ciao ragazzi vorrei sapere secondo voi che codice usano in questo demo per capire il vero browser usato:
link
grazie a chi mi aiuterà![]()
si leggono lo user agent e vedono a cosa corrisponde... c'è pure una libreria in php per farlo
IP-PBX management: http://www.easypbx.it
Old account: 2126 messages
Oldest account: 3559 messages
interessante pensavo di farlo..ma questa libreria è gratis da scaricare o no?
Originariamente inviato da pinkangel
interessante pensavo di farlo..ma questa libreria è gratis da scaricare o no?![]()
http://it.php.net/manual/en/function.get-browser.php
nota:
In order for this to work, your browscap configuration setting in php.ini must point to the correct location of the browscap.ini file on your system.
browscap.ini is not bundled with PHP, but you may find an up-to-date » php_browscap.ini file here http://browsers.garykeith.com/downloads.asp.
While browscap.ini contains information on many browsers, it relies on user updates to keep the database current. The format of the file is fairly self-explanatory.
IP-PBX management: http://www.easypbx.it
Old account: 2126 messages
Oldest account: 3559 messages