----- 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 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='') in d:
> \foxserv\www\home\en\index.php on line 5
>
> I've tried placing the desired PHP file (menutop.php) in the same directory
> as the index.php, and it returns just fine, but I can't seem to get it to
> recognize any sort of path, as indicated by the error message. As far as I
> can tell, my syntax is correct in my php.ini:
>
> include_path = "d:\foxserv\www\include;."
>
> But I keep running into the same problem. I am running a dual boot on
> separate drive partitions, one Windows NT 4.0, one Windows 2000 Server,
> perhaps that has something to do with it? If anyone has any insight into
> the problem it would be much appreciated.
>
> -Matthew Robey
> Maxon Corp.
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]