ID: 15175 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Filesystem function related Operating System: Windows 2000 PHP Version: 4.1.0 New Comment:
I have tried the following paths.. c:\\Inetpub\\wwwroot\\catalog\\images c:\Inetpub\wwwroot\catalog\images c:/Inetpub/wwwroot/catalog/images \Inetpub\wwwroot\catalog\images /Inetpub/wwwroot/catalog/images Also tried with \ at the end of the pathname but this hangs the script. Previous Comments: ------------------------------------------------------------------------ [2002-01-23 14:00:58] [EMAIL PROTECTED] Can you show us a 'complete path'? You're probably doing something wrong. ------------------------------------------------------------------------ [2002-01-22 16:53:43] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=15175&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]