Voting

: zero minus zero?
(Example: nine)

The Note You're Voting On

micklweiss at gmx dot net
21 years ago
I ran into a little snag in example 1. opendir() lists files by the last time the file was accessed. I was trying to print the files numerically in a directory.

Solution: Use scandir() instead (php5) or store the files in an array and sort it.

Hope this helps someone.

- Mick

(o> Web / software developer
( ) UNIX Systems Admin
--- ~ www.mickweiss.com ~

<< Back to user notes page

To Top