How do I determine whether it's a mobile device with PHP?
Posted
by Thomaschaaf
on Stack Overflow
See other posts from Stack Overflow
or by Thomaschaaf
Published on 2008-12-22T11:36:35Z
Indexed on
2010/05/02
23:17 UTC
Read the original article
Hit count: 369
I am writing a website with PHP. Since it will need to be accessed by anyone on the network to access the internet I have to create a mobile version. How do I best check if it's a mobile device? I don't want to have a switch statement with 50 devices at the end since I don't only want to support the iPhone.
Is there a PHP class I could use?
© Stack Overflow or respective owner