Re: A somewhat faster alternative to is_dir and is_file?
| From: | raditha dissanayake | Date: | Thu, 09 Sep 2004 10:47:43 +0000 |
| Subject: | Re: A somewhat faster alternative to is_dir and is_file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196202@lists.php.net to get a copy of this message | ||
Wouter van Vliet wrote:
Howdy, I've written some, kinda coolish, class that reads directories recursively with some simple calls. Yihaaa, .. (but I'm not the only one who has done that, I guess :P). Anyway, during the process of traversing a directory it checks to see if the "something" that was found is either a directory or a file, based on that it will do some things. Fine, works. Don't lose hair over it. 800 files is quite a lot even to produce a directory listing in the command prompt would probably take as long.-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 128 KB | with progress bar.