51Degrees-PHP
Mobile Device Detection for PHP - 4 Step Setup - 3 Minutes
...('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.