Re: file test
| From: | Richard Lynch | Date: | Sat, 24 Feb 2001 01:35:25 +0000 |
| Subject: | Re: file test | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41419@lists.php.net to get a copy of this message | ||
> I am opening the top level of a a directory structure with dir. I want
make
> a list of the subdirectories, but not the files. Is there a file test
> operator like perl's -d in php? I will then have to go into the sub
> directories to perform actions on non directory files
http://php.net/is_dir
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm