TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   The Lounge (http://www.talkphp.com/lounge/)
-   -   Browser Detection With PHP Browscap (http://www.talkphp.com/lounge/4120-browser-detection-php-browscap.html)

ETbyrne 04-09-2009 08:09 PM

Browser Detection With PHP Browscap
 
It's an article on getting browser info easily with PHP using browscap.ini:

http://www.evanbot.com/article/php-browscap/19/

Enjoy! :-)

Kalle 04-09-2009 08:27 PM

I must admit that I've never been a fan of trying to resolve browser on the backend part as it can be cloaked and faked way too easily.

After reading your article, then I honestly don't know about that phpbrwoscap, get_browser() is most likely to be faster as its written in C, as for the problems that it may give incorrect results is one I don't get as we havn't got any reports on that at the php.net bug tracker anytime I can remember of (past year). The question about browscap being PHP_INI_SYSTEM can be suggested in a Feature/Change Request report on bugs.php.net aswell.

As for the article, it looks goods :)


All times are GMT. The time now is 05:05 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0