Hi
I have the following code:
The folder 'includes' exists, the file 'incSentry.php' exists and the PHP file that this code exists in is within a subfolder of the root address (called 'controls').
I get the following error message:
Warning: require_once(..\includes\incSentry.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\[site]\controls\login.php on line 2
my Open_BaseDir is not enabled and so this cannot be the issue. I also have this piece of code working on another site without issue. I am stumped. Any ideas?
I have the following code:
Code:
require_once("..\includes\incSentry.php");
The folder 'includes' exists, the file 'incSentry.php' exists and the PHP file that this code exists in is within a subfolder of the root address (called 'controls').
I get the following error message:
Warning: require_once(..\includes\incSentry.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\[site]\controls\login.php on line 2
my Open_BaseDir is not enabled and so this cannot be the issue. I also have this piece of code working on another site without issue. I am stumped. Any ideas?