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

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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