We aggregate information from all open source repositories to provide the most of useful open source products, from Enterprise product to small libraries across all platforms. Please search and find what you want.

51Degrees-PHP

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:

include_once(‘path/to/51Degrees.php’);
include_once(‘path/to/51Degrees.usage.php’);

(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.

You’re probably paying too much for cell phone service. Wirefly compares hundreds of plans to help you save. Enter what you need (minutes, data, texts) into Wirefly’s innovative plan comparison tools and see your savings instantly.

Website http://51degrees.mobi/Support/Documentation/PHP.aspx
Tags
License
Features
  • 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