OK, I'm running a Windows XP box with IIS 5 and PHP 4.2.3. In a script I have on the server, I'm running a 'require' command at the top that points to a file in a higher directory, like so...
require('../global.php');
Then, further down, I'm running an 'include' command, like so...
include($REMOTE_ROOT . 'modules/text.php');
$REMOTE_ROOT is the working root of the site, where the 'modules' directory is located. Now here's the weird part: I'm getting a warning that says that PHP failed to open the file for inclusion. Note that I've checked my php.ini file in the windows directory, and it has allow_fopen_urls enabled. I've also tried opening the file, and PHP refuses to find it. However, I can open up that same file in a different browser window, and PHP can find it and run it just fine. What the heck is the problem here???