I have a file varDefs.php which holds my global variables and file locations and is located in the root of my web space (e:\NewIntranet\varDefs.php).
I have my scripts in a directory called 'scripts' and need to include the varDefs in my script. I have tried:
but it does not seem to work. I get the error
"Warning: mailmergedocument(../../varDefs.php): failed to open stream: No such file or directory in E:\NewIntranet\scripts\files.inc.php on line 280"
I have my scripts in a directory called 'scripts' and need to include the varDefs in my script. I have tried:
Code:
include ("../varDefs.php");
but it does not seem to work. I get the error
"Warning: mailmergedocument(../../varDefs.php): failed to open stream: No such file or directory in E:\NewIntranet\scripts\files.inc.php on line 280"