4 Steps - Download, Unzip, Include, Go Mobile with PHP
Add mobile device detection to PHP the easy way with 51Degrees.mobi. No cloud services, no external plug-ins, all Mozilla Public Licence source code. It's a great alternative to WURFL or DeviceAtlas.
Step 1 - Download the Zip file from SourceForge.
Step 2 - Unzip the file into a directory of your choice within your project.
Step 3 - Then add the following code to your PHP page file:
(It is recommended for performance purposes that these lines are included after a session_start();)
Step 4 - Get the details about the device that is accessing your site with code like this:
if ($_51d[‘IsMobile’] == TRUE)
//Start coding for a mobile device here.
Read the full user guide on our web site.
- No cloud service required - Free
- No external PHP plug-ins needed
- Mozilla Public Licence 2.0 licenced
- Supported by a freemium business model
- Simple to setup
- ASP and .NET available at Codeplex
There are no 4 star reviews.