note 9165 added to opendir
| From: | the_jalal at yahoo dot com | Date: | Thu, 19 Oct 2000 15:52:51 +0000 |
| Subject: | note 9165 added to opendir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6704@lists.php.net to get a copy of this message | ||
Under Windows NT
opendir( "xxxx/xxx/x" )
seems to return a resource even for a non-existent directory.
Use is_dir() first to check if it exists.
http://www.php.net/manual/function.opendir.php