note 9039 added to dir
| From: | peter at nospam dot hogtied dot com | Date: | Thu, 12 Oct 2000 21:15:33 +0000 |
| Subject: | note 9039 added to dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6420@lists.php.net to get a copy of this message | ||
The c function FindNextFile() is the same: on NT it sorts by filename and on Unix it sorts by date
created. There is no way I found to change this. It seems a fair bet that dir->read() calls
FindNextFile() directly. I.e. the option of sorting of the files isnt going to be added to PHP any
time soon :(
http://www.php.net/manual/class.dir.php