Re: include paths

From: Date: Thu, 17 May 2001 17:34:58 +0000
Subject: Re: include paths
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-7685@lists.php.net to get a copy of this message
----- Original Message ----- From: <mjrobey@maxoncorp.com> To: <php-windows@lists.php.net> 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: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.windows (#7685) next »