Updated: 08/17/2007

PHP to detect mobile phones

This PHP code by a .mobi certified mobile web developer detects mobile phones so you can either send them to your mobile site or serve content best suited to their device. It simply sniffs the user agent and accept headers to work out if it''s a mobile device or not. This supports the vast majority of mobile handsets including the iPhone and PlayStation portable.
  • Categories
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD,
    • Mac OSX,
    • Sun Solaris
  • Licenses
    • Commercial License,
    • Free for non-commercial use
  • Author
    • Andy Moore