Thanks for the reply,
My system is a Windows xp
Apache Server 2.0.59
PHP Version 5.2.4
ServerRoot "C:/webserver/Apache2"
DocumentRoot "C:/webserver/Apache2/home/bobharri/www"
safe_mode = Off
I checked my log file:
[Thu Dec 27 16:19:30 2007] [error] [client 127.0.0.1] PHP Warning: include(\\home\\bobharri\\includes\\file.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\\webserver\\Apache2\\home\\bobharri\\www\\includeTest.php on line 2
[Thu Dec 27 16:19:30 2007] [error] [client 127.0.0.1] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '\\home\\bobharri\\includes\\file.php' for inclusion (include_path='.;C:\\php5\\pear') in C:\\webserver\\Apache2\\home\\bobharri\\www\\includeTest.php on line 2
This is the same error message I get in the browser.
Here is the code I am trying to execute:
<?php
include "\home\bobharri\includes\file.php";
?>
I am trying to get it to see the file in the directory C:\webserver\Apache2\home\bobharri\includes
My live server has the document root \home\bobharri\www\
My assumption is that if I copied the dir structure under my live server the php could read files relative to that server root.
Maybe that was a bad assumption?
Thank You