admin
Administrator
     
Offline
Posts: 239
|
 |
« on: January 22, 2017, 09:17: PM » |
|
Download the mobile_detect.php file and place it where you want on your server.
Here's the show if scripting
<?php include("mobile_script/Mobile_Detect.php"); // Check for any mobile device. $detect = new Mobile_Detect(); ?>
<?php if ($detect->isMobile()) { ?>
show if mobile
<?php } else { ?>
show if desktop
<?php } ?>
|