does chdir() change include_path on the fly? HELP

From: Date: Fri, 19 Jan 2001 21:35:53 +0000
Subject: does chdir() change include_path on the fly? HELP
Groups: php.general 
Request: Send a blank email to php-general+get-35734@lists.php.net to get a copy of this message
my problem is i have an include file in a parent directory which includes other files. i want these other files to be in the same directory as this parent directory file..(hope your gettin me here...). the prob is the parent directory file looks for its include files in the current directory. example: current path is: www.blah.com/blahdir a file in blahdir called blah1.php includes blah2.php which is located in www.blah.com blah2.php includes blah3.php and blah4.php which are also located in www.blah.com the problem is blah2.php looks for blah3.php and blah4.php in www.blah.com/blahdir will chdir() fix this? or is there another way? Thanks!! - Noah

« previous php.general (#35734) next »