Karl Widde wrote: > Hi > > I using PHP (CGI) 4.3.3 on a win2k server with IIS 5.0. Ive got a php.ini > with include_path = "f:\web\folderA\folderB\" and a Site defined in IIS with > that has the same home dir. If I try to include myFile2.php from > f:\web\folderA\folderB\folderC\folderD\myFile1.php using > > include("\folderE\folderF\myFile2.php"); - Dont work.
I guess that "\folderE\folderF\myFile2.php" is just an example, not the real path? Does echo "\folderE\folderF\myFile2.php"; with the real path work? You should either use single quotes or escape the backslashes: include('\folderE\folderF\myFile2.php'); include("\\folderE\\folderF\\myFile2.php"); See <http://www.php.net/manual/en/language.types.string.php>. Please ask again if that was not your problem. Regards... Michael