note 24414 modified in function.is-dir by jmcastagnetto

From: Date: Thu, 15 Aug 2002 22:28:03 +0000
Subject: note 24414 modified in function.is-dir by jmcastagnetto
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35104@lists.php.net to get a copy of this message
[Editor's note: you need to pass either the correct relative or absolute path to the function] is_dir() does not work correctly (i.e. returns false on some folders) unless you chdir() to folder that contains the file/folder you are checking. [on Linux Red Hat 7.2] --was-- is_dir() does not work correctly (i.e. returns false on some folders) unless you chdir() to folder that contains the file/folder you are checking. [on Linux Red Hat 7.2] http://www.php.net/manual/en/function.is-dir.php

« previous php.notes (#35104) next »