PHP Classes

Print Keywords ?

Recommend this page to a friend!

      CReferrer  >  All threads  >  Print Keywords ?  >  (Un) Subscribe thread alerts  
Subject:Print Keywords ?
Summary:How to print de Keywords ?
Date:2005-10-26 14:52:34
Update:2008-02-05 22:01:44

  1. Print Keywords ?   Reply   Report abuse  
Picture of zep zep - 2005-10-26 14:52:34

Sorry for asking that (I'm shamed) but I would like to print (or echo) the keywords but can't do at all.

What I do in my testcreferrer.php page:
require_once (dirname(__FILE__)."/creferrer.class.php");
$referrer = new CReferrer ();

print $referrer->getKeywords;

Where is the problem ?

Many thanks


  2. Re: Print Keywords ?   Reply   Report abuse  
Picture of Tom Gray Tom Gray - 2008-02-05 22:01:44 - In reply to message 1 from zep
I think you need to replace this line:

print $referrer->getKeywords;

with this:

print .$referrer->getKeywords(getenv("HTTP_REFERER"));