[snip]
I read some files and I found this:

if (file_exists("config.inc.php")) {
         include("config.inc.php");
}
else {
         echo "Configuration Error: You must rename/copy
config.inc.php-dist to config.inc.php and set your appropriate settings";
         exit;
}

The file exists but I don't know why the function file_exists returns false.
I also tried with another file in another dir. like index.php and I got
the same result.
[/snip]

You may have to include the full path to the included file. If
config.inc.php is in the same directory as the file which contains the above
code you should be OK. If not, you need to supply the path.

HTH!

Jay



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

Reply via email to