Detect Mobile Browsers and Mobile User Agents with this simple yet powerful PHP function
Detect iOS, Android, Windows, BlackBerry, Opera & Palm
Redirect mobile visitors or switch their template easily
A quick, easy to use, solid and dependable PHP function to detect mobile browsers like iPhones, iPads, Androids, Windows Phones, BlackBerry's and Palm devices which visit your website. From old legacy devices through to today's hottest smartphones, they're all detected.
Mobile app distribution just got easier
You can use this code to detect which app store to send folks to so they can download your apps: Apple's App Store, Google Play, the Palm App Catalog, RIM / BlackBerry's AppWorld, the Nokia Store & Windows Phone Marketplace.
Thoroughly Tested, Light & Efficient
Tested and proven solid by tens of thousands of users over several years. This lightweight PHP solution to Detect Mobile Browsers simply works even when tested against the heavyweights like Device Atlas and WURFL.
Grab yourself a Coke, this won't take you long
If you're fairly confident with PHP you should have this up and running in a few minutes, you just need to include a file and call a function. You'll find it easy to get working with a complete set of samples included.
It isn't rocket science even though rocket scientists use it!
This code is easy to get working; all you need is a little PHP enabled web hosting and the ability to cut, paste and upload files. It isn't rocket science and can be added to your website in minutes.