includes
| From: | William E. T. | Date: | Tue, 07 Aug 2001 17:41:00 +0000 |
| Subject: | includes | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8700@lists.php.net to get a copy of this message | ||
I'm running apache on win98 as a test platform for a site, but whenever
I do includes it says it can't read the file. I know the file is there,
as apache lists it in the director listing.
The exact error I get is
Warning: Failed opening 'main.inc' for inclusion (include_path='..') in
c:\program files\apache group\apache\htdocs\site\index.php on line 45
The syntax I used to call the include is
include("main.inc");
This worked on the REAL server I'm using, so I was wondering why it
won't work locally.
Thanks
William