PHP Developer's Network : Network Member
Forums

PHP Classes
Icontem

Class: CReferrer


  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 Setec Astronomy  >  CReferrer  >  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  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

    Picture of Setec Astronomy
    Name: Setec Astronomy <e-mail contact>
    Published packages: 20
    Country: Italy Italy - PHP jobs in Italy
    Home page: http://setecastronomy.redirectme.net/
    Age: ???
    All time rank: 9
    Week rank: 30

    Browse this author's classes

  • Innovation Award:

    PHP Programming Innovation award nominee
    March 2004
    Number 6
    Where are my site visitors coming and why, are frequent questions asked by many site owners. One way to track that information is using the HTTP referer headers that tell the URL of the page that the user visited before the current page.

    The search engine sites are one common source of new visitors. Usually the user searches for something and the search engine site presents a list of pages where what is searched may be found. The search keywords are part of the URL of the search engine result pages. When the use clicks on a result link and accesses the listed site, usually the browser passes to that site the URL of the search engine results page in the HTTP referer header.

    What this class does is to parse the HTTP referer header and try to match it against the URL pattern of several well known search engine sites.

    This definitely helps answering Web site owner questions about where did my site visitors come from and what where they searching for that lead them to my site.

    Manuel Lemos
  • Groups:

    Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
    Group folder image Text processing Manipulating and validating text data View top rated classes
  • Detailed description:

    Most browsers usually send the URL of a page the user accessed before and clicked on a link or submited a form that lead to the current page. That information is usually passed to PHP scripts in HTTP_REFERER environment variable.

    This class is meant to parse the HTTP referer URL of the page that lead the user to the current page and determine if it is a known search engine.

    In the case that a known search engine is recognized, the class can extract the search keywords that the user entered in the search site.

    The class comes with a data file that is used to described 24 known search engines. You may edit this file to add more entries to let the class recognize more search sites from the referer URL.
  • User ratings:

    Ratings
    Utility
    Consistency
    Documentation
    Examples
    Tests
    Videos
    Overall
    Rank
    All time:
    Good (84.1%)
    Sufficient (75.0%)
    -
    Sufficient (77.3%)
    -
    -
    Not sure (57.3%)
    764
    Month:
    Not yet rated by the users
  • 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 creferrer.class.php Class CReferrer class
    Plain text file engines.ini Data Search engines settings
    Plain text file test_referrer.php Example Test script
    Download all files: creferrer.tar.gz creferrer.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