There are two modes to solve this:
- First when you are calling the file give the exact path from the file you
are calling to the DB.php
- second, the 'include_path = ' is a php.ini property so is there you have
to add the path to the DB.php

The php try first to access the DB.php directly assuming the file is in the
same directory, if it can't find him it will search the file into the paths
defined in the include_path property. That's why you see the error that it
can't find the file into the include_path.
Try the first solution.

-- 
-------------------------------------------------
Cristian MARIN - Developer
InterAKT Online (www.interakt.ro)
Tel:         +4021 312.53.12
Tel/Fax:  +4021 312.51.91
[EMAIL PROTECTED]
"Jswalter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am trying to use DB.php, but I am getting htis error...
>
> Fatal error: main(): Failed opening required 'DB.php'
> (include_path='.;c:\php4\pear')
>
> I can't find this path defined *anywhere*
>
> I don't have PHP installed thee.
>
> How can I "fix" this include path issue.
>
> Thanks
>
> Walter
>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to