Don't understand this php error?

Yunyun Hurvy

New member
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 looked on php.net so don't tell me to go there, I can't find what this resource parameter is.
also, the height and width of the image is returned but not the accuall image.
 
Back
Top