Designed and developed By DrupalNetworks.com. Drupal Networks is a division of YAS Global.

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

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

Follow Us

Aliya's Tags