Hello mjrobey,
try to replace \ with /:
include_path = d:/foxserv/www/include;.
mmc Greetings,
mmc I'm running Apache with the PHP mod under Windows 2000, but I seem to have
mmc a recurring problem with includes. Every time I try to view a page with an
mmc include() statement, it returns an
Well, thanks for all the input, I tried several different fixes, and
combinations of fixes. In the end, giving the complete path in my include
() statement did the trick. No amount of tinkering with the include_path
variable would get the server to look in the right place. So my php now
reads:
Greetings,
I'm running Apache with the PHP mod under Windows 2000, but I seem to have
a recurring problem with includes. Every time I try to view a page with an
include() statement, it returns an error of the following sort:
Warning: Failed opening 'menutop.php' for inclusion (include_path='')
my include looks like
;
; Paths and Directories ;
;
include_path
=\apache\includes
do you have the quotes ; . in yours??
[EMAIL PROTECTED] wrote:
Greetings,
I'm running Apache with the PHP mod under Windows 2000, but I seem to have
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 12:30 PM
Subject: [PHP-WIN] include paths
Try typing the include() line in your code like this:
include($include_path.\SomeFilenameToInclude);
Alan
Greetings,
I'm running Apache