Forum Moderators: coopster

Message Too Old, No Replies

Working with PEAR

require_once 'DB.php'

         

henry0

2:25 pm on Feb 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello
Just wondering if I need to be more precise on db.php path or if using only "require_once 'DB.php'" as is will be fine

thanks

henry0

2:37 pm on Feb 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well I think I have the answer
<<<
The file DB.php can
be found in the /pear subdirectory of the PHP4 distribution. If the installation
process didn't do it, make sure that the directory that contains the PEAR files
is included in your include_path in the php.ini. Inside DB.php a class of type
DB is defined. One of the functions of the DB class is the connect() function,
>>>