Title: [Plugin: PHP Browser Detection] php_browser_detection_browscap.ini file outdated&#8230;
Last modified: August 20, 2016

---

# [Plugin: PHP Browser Detection] php_browser_detection_browscap.ini file outdated…

 *  [amereservant](https://wordpress.org/support/users/amereservant/)
 * (@amereservant)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-php-browser-detection-php_browser_detection_browscapini-file-outdated/)
 * The **browscap.ini** file this plugin relies on is outdated as I write this _(
   version 2.1)_ as it won’t detect the latest version of Chrome in Linux Ubuntu
   11.04.
    After downloading the most recent version from [http://browsers.garykeith.com/downloads.asp](http://browsers.garykeith.com/downloads.asp),
   it detected it just fine.
 * Since this plugin completely relies on the browscap.ini data to detect the browser,
   I recommend adding a WP_Cron task that compares the version currently being used
   with the latest version via their Version API, [http://browsers.garykeith.com/faq.asp#FAQ_8](http://browsers.garykeith.com/faq.asp#FAQ_8),
   and then updates the local version if a newer version remotely exists.
    The update
   can either be automatic or just prompt the administrator.
 * Here’s how I’ve implemented the version check: [http://pastebin.com/HudNEZTg](http://pastebin.com/HudNEZTg).
   
   It simply checks for a newer version, but I haven’t added any sort of update 
   function.
 * I hope that helps…
 * [http://wordpress.org/extend/plugins/php-browser-detection/](http://wordpress.org/extend/plugins/php-browser-detection/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * (@mindshare)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-browser-detection-php_browser_detection_browscapini-file-outdated/#post-2271859)
 * Hi amereservant, any interest in forking this project with me and creating a 
   version that’s updated regularly? I’ve also indicated that I’m happy to help 
   maintain it if the author wants help… [http://wordpress.org/support/topic/plugin-php-browser-detection-update-php_browscapini](http://wordpress.org/support/topic/plugin-php-browser-detection-update-php_browscapini)
 *  Plugin Author [MartyThornley](https://wordpress.org/support/users/martythornley/)
 * (@martythornley)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-php-browser-detection-php_browser_detection_browscapini-file-outdated/#post-2271863)
 * I just added mindshare as a committer. Would you like to be added too, amereservant?
   I had always wanted to add the auto-check via their API. Would be very cool to
   have that added in!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: PHP Browser Detection] php_browser_detection_browscap.ini file
outdated…’ is closed to new replies.

 * ![](https://ps.w.org/php-browser-detection/assets/icon-256x256.png?rev=999338)
 * [PHP Browser Detection](https://wordpress.org/plugins/php-browser-detection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-browser-detection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-browser-detection/)
 * [Active Topics](https://wordpress.org/support/plugin/php-browser-detection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-browser-detection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-browser-detection/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [MartyThornley](https://wordpress.org/support/users/martythornley/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-php-browser-detection-php_browser_detection_browscapini-file-outdated/#post-2271863)
 * Status: not resolved