PHP Developer's Network : Network Member Forums

Class: MobileUserAgent



  Search   All class groups   Latest entries   Top 10 charts   Newsletter   Blog   Forums   Help FAQ  
  Login   Register  
Recommend this page to a friend! Trackback URL: http://www.phpclasses.org/trackback/browse/package/2000.html
      Classes of Craig Manley  > 
MobileUserAgent
 >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description   Freshmeat project  
  Trackback   Applications   Files Files  
  • Supplied by:

  • Picture of Craig Manley
    Name: Craig Manley <e-mail contact>
    Published packages: 5
    Country: The Netherlands The Netherlands - PHP professionals from The Netherlands looking for PHP jobs
    Home page: ???

    Browse this author's classes

  • Innovation Award:

  • PHP Programming Innovation award nominee
    December 2004
    Number 5
    The possibilities of mobile devices like cellular phones and palmtops vary a lot depending on the type of device, brand and model characteristics.

    To take advantage of the possibilities of each type of device it is necessary to know which are the supported capabilities.

    This class is capable of parsing the User-Agent identification string sent by the device browser application to the Web server. Then it extracts the relevant details that can be used to cross-check a database of device specific characteristics supplied by their vendors.

    With this information it is possible to determine which capabilities can be used to deliver content or provide services to each type of mobile device that accesses a Web site.

    Manuel Lemos
  • Groups:

  • Group folder image
    HTTP protocol clients, headers and cookies
    View top rated classes
    Group folder image
    Classes using PHP 5 specific features
    View top rated classes
    Group folder image
    Wireless communications, handheld and pocket computing
    View top rated classes
  • Detailed description:

  • This class parses user agent identifier strings from browsers used by mobile devices to extract relevant information.

    It recognizes many of the current mobile user agent identifier strings and processes them to extract their basic constituent parts, the most important being the mobile device vendor and model.

    An useful application of this class is to use the extracted information to lookup vendor and model specific device characteristics in a database, or to detect if the visiting browser uses a certain type of mobile device.

    Of course you could use user agent profiles for this, but not all mobile phones have (valid) user agent profiles, especially the older types of mobile phones.

    This class was already verified to work correctly with over 2000 user agent strings.
  • Freshmeat project:

  • Project record: mobileuseragent
    Rating: Please rate this class in Freshmeat
  • Trackback links:

  • Link Description
    Info on Get Mobile User Agent using PHP
    If you are looking for a solution to reconize the create personalized services for mobile websites for different mobile devices, you may find the Get Mobile User Agent PHP class from PHP Classes - Class: MobileUserAgent...
    Latest blog trackback links Latest blog trackback links
  • Applications that use this class:

  • No application links were specified for this class.
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Files:

  • File Role Description
    Plain text file detect_mobile_client.php Example
    Contains a function to detect if the visiting client is a mobile handset.
    Accessible without login Plain text file MobileUserAgent.php Class
    The main class. Complete package with docs is available here: http://sourceforge.net/projects/mobileuseragent/
    Plain text file tmobileua.php Test
    Test script.
    Plain text file unique_vendor_model_useragents.txt Output
    Unique tab seperated list of vendor, model, and the useragent they were extracted from.
    Download all files: mobileuseragent.tar.gz mobileuseragent.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site   Site map   Statistics   Site tips   Privacy policy   Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products