Re: Beginning with PEAR
| From: | T.Lensselink | Date: | Tue, 25 Apr 2006 14:50:18 +0000 |
| Subject: | Re: Beginning with PEAR | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23825@lists.php.net to get a copy of this message | ||
include "PEAR.php";
> Hi
>
> I'm just beginning using Pear and I cannot find any hint on how to get
> rid of this error :
>
> *Fatal error*: Undefined class name 'pear' in
> */var/virtual_www/libenti.com/ln.dev.libenti.com/htdocs/classes/CBDDUtilisateurs.php*
> on line *7*
>
> I just copied/pasted the "**Example 33-4. At last some real DataObject
> Code.. ****from url
>
> "http://pear.php.net/manual/en/package.database.db-dataobject.intro-purpose.php"...”�Ë&eþC1¦ÙEX
> ‚v
>
> I feel like there's some "include" statement missing... I searched
> everywhere in the manual and with Google and found absolutely no hint.
>
> The only thing i know is that Pear is installed (in /usr/share/pear) and
> working. But I have no rights to see nor to access this directory on the
> LAMP server.
>
> Thanks for your help.
>