note 25471 deleted from function.is-dir by jmcastagnetto

From: Date: Wed, 25 Sep 2002 02:41:49 +0000
Subject: note 25471 deleted from function.is-dir by jmcastagnetto
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-37218@lists.php.net to get a copy of this message
is_dir only worked, when I gave the name of the directory AND the path of the directory: $dir_handle = opendir($path); while ($fp = readdir($dir_handle)) { if (is_dir($fp)) {echo "dir found!";} // worked only sometimes, if (is_dir($path.$fp)) {echo "dir found!";} // always works. }

« previous php.notes (#37218) next »