Bug #15175: is_dir does not work correctly
| From: | ddunn at lwdd dot fsnet dot co dot uk | Date: | Tue, 22 Jan 2002 21:53:44 +0000 |
| Subject: | Bug #15175: is_dir does not work correctly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77836@lists.php.net to get a copy of this message | ||
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