Re: Open all subdirectories in a directory
| From: | John Holmes | Date: | Sat, 14 Aug 2004 16:09:32 +0000 |
| Subject: | Re: Open all subdirectories in a directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193790@lists.php.net to get a copy of this message | ||
PHPDiscuss - PHP Newsgroups and mailing lists wrote:
Hello Professionals, Can anybody help me to open all subdirectories in a directory, I used is_dir() to check whether it is a dir, and if yes, I recursively called it with the new dir name. But all subdirectories are not open the recursion is not working for more than 1 level. I tested it in windows server. Expecting your help,Expecting your code... Have you looked at the opendir manual page to see if there are any examples, there? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com