PHP: Mobile Devices HTTP_USER_AGENT Strings

So You’re Going Mobile

It’s nice that at least you’re moving your site to mobile device. It’s really important. Now if you’re using PHP the question is how to detect the mobile browser.

HTTP_USER_AGENT

Every PHP developer knows that $_SERVER['HTTP_USER_AGENT'] string optionally contain the browser that access your site, but what are the possible values of this string?

The Answer is …

in that really really full list of user agent strings: http://www.zytrax.com/tech/web/mobile_ids.html

Related posts:

  1. PHP: detecting mobile device
  2. Mobile Internet Users are Getting More Important
  3. PHP Strings: How to Get the Extension of a File
This entry was posted in PHP, web development and tagged , , , , , , , , , , . Bookmark the permalink.

2 Responses to PHP: Mobile Devices HTTP_USER_AGENT Strings

  1. Claus H. says:

    Nice list, thanx!

  2. Neko says:

    Nice post

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">