I have XAMPP installed on a Windows 7 machine.
My application called "photos" resides in C:\xampp\htdocs\photos which has an "includes" subdirectory (i.e., C:\xampp\htdocs\photos\inc
ludes). In this "includes" directory is one file called config.php, and it is really still an empty file.
In my index.jsp, I have only one line:
When I run my index.jsp on a browser, I immediately get this warning and error message:
Warning: require_once(\photos\includes\config.php): failed to open stream: No such file or directory in C:\xampp\htdocs\photos\index.php on line 3
Fatal error: require_once(): Failed opening required '\photos\includes\config.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\photos\index.php on line 3
But the file "\photos\includes\config.p
hp" exists. Can someone please tell me why I'm getting this error?