Click here to Skip to main content
13,043,898 members (54,340 online)
Click here to Skip to main content
Articles » Web Development » PHP » General » Alternatives
Alternatives (1)
Add your own
alternative version

Tagged as


10 bookmarked
Posted 18 Dec 2009

Catching Keywords from Search Engines

, 18 Dec 2009
With this class we try to catch some keywords from google, yahoo and bing search engines.<?phpclass keywords{ private $referer; private $_e; public $keywords; public function __construct() { if($_SERVER['HTTP_REFERER']) { ...


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

3 Feb 2010
There is a bug with your regex.Say for example that you were refered to by, your code would return 'example'. If, however, you were refered to by, it would return 'oops'.The simple fix is to change the limitation variable from...


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

No Biography provided

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 18 Dec 2009
Article Copyright 2009 by caprico.caprico
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid