Complete the following 4 steps in your PHP environment to start getting information about requesting mobile devices.
Step 1 - Download the Zip file from Sourceforge.
Step 2 - Unzip the file into a directory in your PHP server.
Step 3 - Then add the following code to your PHP page:
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.
A working example website demonstrating the API can be found in the example directory.