From: ddunn@lwdd.fsnet.co.uk
Operating system: Windows 2000
PHP version: 4.1.0
PHP Bug Type: Filesystem function related
Bug description: is_dir does not work correctly
The following code does not work on Windows 2000 Service Pack 2 with PHP
4.1.0 (no modules loaded, using php.exe). Webserver is IIS.
is_dir reports back that directory does not exist when it does. Tried
using clearstatcache and chdir etc..etc....no different...
Have tried on a Linux/Apache system and it works fine.
if (is_dir("$complete_path") == true)
{print ("Directory exists");}
else {print ("Directory does not exist");
--
Edit bug report at: http://bugs.php.net/?id=15175&edit=1