Posts by Eudes Alves • 21 points
1 post
-
2
votes4
answers12776
viewsA: PHP Check mobile device
The best I could think of! <?php $mobile = FALSE; $user_agents = array("iPhone","iPad","Android","webOS","BlackBerry","iPod","Symbian","IsGeneric"); foreach($user_agents as $user_agent){ if…
phpanswered Eudes Alves 21