I made an uploading photos section, and when I try to delete the folder of the photos I get:
Warning: rmdir(C:/wamp/www/site/images/4b4731fda156e) [function.rmdir]: Directory not empty in C:\wamp\www\site\admin\process\delete.php on line 23
Although the directory is empty and I have checked it myself, and used unlink to remove any photos.
Is this a problem because of wamp not allowing this? does it have anything to do with wamp configuration?
And I think its worth knowing that I have changed the permissions using chmod to 0777
yeah ive used unlink() too, to delete files... there's no problem... the only error it will generate is when assigning incorrect path. The file you wish to delete does not exist.