Re: Beginning with PEAR

From: Date: Tue, 25 Apr 2006 15:02:25 +0000
Subject: Re: Beginning with PEAR
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23827@lists.php.net to get a copy of this message
Hi Romain, Romain SEGUY wrote:
*Fatal error*: Undefined class name 'pear' in */var/virtual_www/libenti.com/ln.dev.libenti.com/htdocs/classes/CBDDUtilisateurs.php* on line *7* I feel like there's some "include" statement missing... I searched everywhere in the manual and with Google and found absolutely no hint.
When you use PEAR packages you should usually start with : require_once 'PEAR.php'; That's often implicit in the manual examples. -- og

« previous php.pear.general (#23827) next »