RE: [PHP-WIN] list files in a directory
| From: | Jay Blanchard | Date: | Thu, 03 Nov 2005 13:57:39 +0000 |
| Subject: | RE: [PHP-WIN] list files in a directory | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-26457@lists.php.net to get a copy of this message | ||
[snip]
I got some directories on a web server, these I called with PHP to be
displayed on an HTML page. But I do not get them sorted properly. I want
them to be sorted by name and not by size. Could some one please shed some
light on this.
[/snip]
Get all of the directory or file names into an array and then sort the
array.