|
1 2 3 4 |
if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'],'iPod')) { header('Location: http://sitename.com/iphone'); exit(); } |
Archive for 'Php Server'
detecting iphone/ipod using PHP
Wednesday, May 18th, 2011 at
8:32 pm
Leave your comment



