I'm running a script on my test server. Basicaly what it does is return all the images in a directory that are in numeric order (1.jpg, 2.jpg 3.jpg etc...). It works fine except that it also outputs these annoying error messages that say "Warning: readdir() expects parameter 1 to be resource"...
I've got a whole folder of images, and I want to write them all out into a table in my web page. Their renamed numerically when their uploaded to the server as 1.jpg, 2.jpg, 3.jpg... etc. I need to write them from greatest number to smallest number. can I? And might it be possible to put out...