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

nel_h2
Get the most trusted enterprise browser Icon
Get the most trusted enterprise browser

Advanced built-in security helps IT prevent breaches before they happen

Defend against security incidents with Chrome Enterprise. Create customizable controls, manage extensions and set proactive alerts to keep your data and employees protected without slowing down productivity.
Download Chrome
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

Architects, Developers, Information Technology, Telecommunications Industry

Programming Language

PHP

Related Categories

PHP WAP Software, PHP Internet Software, PHP Mobile Software

Registered

2011-07-23