there’s no foolproof method for doing this, but a quick and simple solution is to look at http user agent:
<?php
if( preg_match('/ipad/i',$_SERVER['HTTP_USER_AGENT']) ):
echo "is iPad";
endif;
there’s no foolproof method for doing this, but a quick and simple solution is to look at http user agent:
<?php
if( preg_match('/ipad/i',$_SERVER['HTTP_USER_AGENT']) ):
echo "is iPad";
endif;