[PHP] why i could not use DB.php?

2004-05-18 Thread David
hi I want to use the DB.php to access mysql database, so I add the following line to my file: require_once 'DB.php'; but I get the following error info: Warning: main(DB.php): failed to open stream: No such file or directory in D:\Apache2\htdocs\dunj\test\member\connectDatabase.php on line

Re: [PHP] why i could not use DB.php?

2004-05-18 Thread Travis Low
David wrote: hi I want to use the DB.php to access mysql database, so I add the following line to my file: require_once 'DB.php'; Is my file the file referenced in the error message below? Namely, D:\Apache2\htdocs\dunj\test\member\connectDatabase.php. I'm guessing the message No such

RE: [PHP] why i could not use DB.php?

2004-05-18 Thread Martin Towell
I had a similar error before before. I think php was thinking that the path was '.;d:\php\PEAR' and not two seperate paths (??) What's the include_path line in you php.ini look like? Could there be something to do with that? Martin David wrote: hi I want to use the DB.php to access