Posted By

simondiercks on 11/09/11


Tagged

php browser sniffing iPad


Versions (?)

PHP iPad browser sniffing


 / Published in: PHP
 

URL: http://davidwalsh.name/detect-ipad

  1. $isiPad = (bool) strpos($_SERVER['HTTP_USER_AGENT'],'iPad');

Report this snippet  

You need to login to post a comment.