I have the latest WampServer installed and just ran in to a problem! I can't remove folders with rmdir()! I have the last 12 hours scanned Google for information and tried every possible thing I can think of! Please help me! Just to make it all even more strange: I can remove files. I can remove folders if a remove them just after they are created. This works mkdir($dir, 0777); rmdir($dir, 0777);
This however does not work: mkdir($dir, 0777); *Load page complete and click on random url to try remove a specific folder* rmdir($dir, 0777);
I have tried to give every possible user full permission, without luck. I can remove folder with rmdir in cmd but not with the server! Please help me before I go nuts! I can't let the system beat me! Just can't let it go! =\ Let me know if you want more info!
Edited 2 time(s). Last edit at 05/19/2008 11:20AM by Jompis.
Problem solved! Kind of embarrassing! I didn't use closedir() and therefor the folders was locked and couldn't be deleted. Wasted 8 hours of my life on the stupid thing! =P