0

How can I know whether the user surfing my website is surfing via a mobile device or a PC??
I thought about:

$_SERVER['HTTP_USER_AGENT'];

However, I think that there is a variety of names of mobile browsers.. How could I solve it??
Thanks beforehand.

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Pro2000
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.