Skip to main content

How to use Wurfl PHP library to test / detect mobile devices

if($device->getCapability('is_wireless_device') == 'true') { print 'This is a mobile device';
} else { print 'This is NOT a mobile device';
}