db.php

Status
Not open for further replies.

beast073

New Member
Messages
4
Reaction score
0
Points
0
I'm having a problem running a login script that uses the code

require_once 'db.php';

On my web page it gives me this error:

Warning: require_once(db.php) [function.require-once]:
failed to open stream: No such file or directory in (my directory)

Fatal error: require_once() [function.require]: Failed opening required 'db.php' (include_path='.:/x10hosting/php2/lib/php') in (my directory)

What should i do?
 

aneotoena

New Member
Messages
798
Reaction score
0
Points
0
check either if the file db.php is where it should be or if the script is searching in the right place.
 
Status
Not open for further replies.
Top