Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

Mobile Device Detection

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

Mobile Device Detection - CodeCanyon Item for Sale


Ad: Bluehost hosting

PHP Mobile Device Detection is a script designed to provide an advanced yet simplistic level of device detection and forwarding to any website. The PHP Mobile Device Detection script was designed to allow users to easily detect any number of devices, provide customizations for the devices, or forward them according to their needs, and this is all done with one file!

With this script, your level of detection can be as broad or as specific as you need. All you have to do it configure the script (Don’t worry, it is super simple. I provide lots of instruction and examples.) and include it on your site!

As an added bonus, included in v1.2+, the now script allows you to generate override links allowing visitors to override the detection and view the full site from any device. What is even more awesome, is that override links are smart links (they detect and pass URL get variables)!

Devices Detected:

  • iPhone
  • iPod
  • iPad
  • Android Mobile Phones
  • Android Tablets
  • Blackberry
  • Kindle Fire
  • Windows Mobile
  • Opera Mini
  • Thousands of Generic Devices (Symbian, Palm OS, Amazon Kindle,...)
  • And many many more. In fact, you can detect ANY device!

Change Log

  • v1.5 – 11/13/2013:
    • added an intelligent/continuous forward feature.
    • fixed a couple of bugs.
    • improved the documentation to better explain new and existing features.
  • v1.3 – 3/8/2012:
    • fixed a bug which effected some generate override link functions.
  • v1.2 – 2/20/2012:
    • aesthetic updates to documentation.
    • fixed confusing default example configuration.
    • add the ability to generate smart override links and reset links.
  • v1.0 – 1/11/2012:
    • initial release.

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


13 January 12

Last Update:
14 November 13

Compatible Browsers:
IE6, IE7, IE8, IE9, IE10, Firefox, Safari, Opera, Chrome

Files Included:

Software Version:
PHP 5.x


eCommerce, eCommerce, All Items, android, detection, device detect, ipad, iphone, mobile, php, tablet, user agent