jstanley
07-25-2006, 12:02 AM
I'm using includes in my PHP, but get the following error on the browser:
PHP Warning: main(/commonBegin.php): failed to open stream: No such
file or directory in E:\web\axisreporti\htdocs\application.php on line
9 PHP Warning: main(): Failed opening '/commonBegin.php' for inclusion
(include_path='.;c:\php4\pear') in
E:\web\axisreporti\htdocs\application.php on line 9
the code I'm using is:
include $_SERVER['DOCUMENT_ROOT'].('/include/commonBegin.php');
anyone have any ideas what could be wrong? I thought that the PHP.ini file would need to be modified to the directory in which my site resides, but the tech support team didn't think so.
thanks
PHP Warning: main(/commonBegin.php): failed to open stream: No such
file or directory in E:\web\axisreporti\htdocs\application.php on line
9 PHP Warning: main(): Failed opening '/commonBegin.php' for inclusion
(include_path='.;c:\php4\pear') in
E:\web\axisreporti\htdocs\application.php on line 9
the code I'm using is:
include $_SERVER['DOCUMENT_ROOT'].('/include/commonBegin.php');
anyone have any ideas what could be wrong? I thought that the PHP.ini file would need to be modified to the directory in which my site resides, but the tech support team didn't think so.
thanks