PHP Developer's Network : Network Member
Forums

PHP Classes
Icontem

Class: MobileUserAgent


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!
      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  
  Rate classes User ratings   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 jobs in The Netherlands
    Home page: ???
    Age: ???
    All time rank: 194
    Week rank: 217

    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 HTTP protocol clients, headers and cookies View top rated classes
    Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
    Group folder image Wireless and Mobile 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
    Popularity score: 65.86 (0.11%)
    Popularity rank: 34,160 (PHP Classes: 248)
    Vitality score: 0.00 (0.00%)
    Rating: Not yet rated Please rate this class in Freshmeat
  • User ratings:

    Ratings
    Utility
    Consistency
    Documentation
    Examples
    Tests
    Videos
    Overall
    Rank
    All time:
    Sufficient (75.0%)
    Sufficient (75.0%)
    -
    Sufficient (78.6%)
    Not sure (53.6%)
    -
    Not sure (58.2%)
    715
    Month:
    Not yet rated by the users
  • 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 Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact 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