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.

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

Project Samples

Project Activity

See All Activity >

Categories

WAP, Internet, Mobile

License

Mozilla Public License 2.0 (MPL 2.0)

Follow 51Degrees-PHP

51Degrees-PHP Web Site

You Might Also Like
PRTG Network Monitor | Making the lives of sysadmins easier Icon
PRTG Network Monitor | Making the lives of sysadmins easier

Stay ahead of IT infrastructure issues

PRTG Network Monitor is an all-inclusive monitoring software solution developed by Paessler. Equipped with an easy-to-use, intuitive interface with a cutting-edge monitoring engine, PRTG Network Monitor optimizes connections and workloads as well as reduces operational costs by avoiding outages while saving time and controlling service level agreements (SLAs). The solution is packed with specialized monitoring features that include flexible alerting, cluster failover solution, distributed monitoring, in-depth reporting, maps and dashboards, and more.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Easy to use, fast and accurate.
    1 user found this review helpful.
  • This service is fantastic. It's easy to use, reliable, powerful, feature-rich and developer-friendly. Copy the files, add the reference and bingo, you can detect the type of device accessing your site. Well done 51Degrees!
Read more reviews >

Additional Project Details

Intended Audience

Information Technology, Telecommunications Industry, Developers, Architects

Programming Language

PHP

Related Categories

PHP WAP Software, PHP Internet Software, PHP Mobile Software

Registered

2011-07-23