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 ?
Messages:2
Author:zep
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
Hello,

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:
--------------
<?php
require_once (dirname(__FILE__)."/creferrer.class.php");
?>
<html>
<head>
</head>
<body>
<?php
$referrer = new CReferrer ();

print $referrer->getKeywords;
?>
</body>
</html>
-----------------

Where is the problem ?

Many thanks

Marc

  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"));