Re: Beginning with PEAR
| From: | Scott Mattocks | Date: | Tue, 25 Apr 2006 15:06:22 +0000 |
| Subject: | Re: Beginning with PEAR | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23828@lists.php.net to get a copy of this message | ||
Olivier Guilyardi wrote:
Actually, if you are trying to use DB_DataObject, you should have: require_once 'DB/DataObject.php'; If DB_DataObject needs the PEAR class, it will have the needed require statement. If you still get these errors, make sure that /usr/share/pear is in your include path. -- Scott Mattocks Author of: Pro PHP-GTK http://www.crisscott.comI 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';