Ask about general coding issues or problems here.
1 post • Page 1 of 1
According to the documentation, http://us2.php.net/opendir the resource is you handle which you successfully received with the opendir() call. Which tells me it's actually one of the subsequent uses of that handle that's actually failing. Make sure that your permissions are correct on the directory so that your script can do whatever it needs to do.