<?phprequire(dirname(__FILE__).'/searchwords.class.php');// Example of $_SERVER['HTTP_REFERER']$url = 'http://www.google.com/search?q=PHP&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:pt-BR:official&client=firefox-a';// Getting search words and printing$words = SearchWords::getWords($url);echo $words;