Detecting iPad with PHP/JS/htaccess
David Walsh writes how to detect the iPad using PHP, JavaScript and htaccess. As a bonus, here’s how to do it with CSS:
<link rel="stylesheet" media="all and (orientation:portrait)" href="portrait.css"> <link rel="stylesheet" media="all and (orientation:landscape)" href="landscape.css">