Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check which device is used to open webpage php

require_once 'Mobile_Detect.php';
$detect = new Mobile_Detect;

// Any mobile device (phones or tablets).
if ( $detect->isMobile() ) {
  
}

// Any tablet device.
if( $detect->isTablet() ){
 
}
Source by mobiledetect.net #
 
PREVIOUS NEXT
Tagged: #check #device #open #webpage #php
ADD COMMENT
Topic
Name
8+4 =