I'm using this code to create subdirectories:
$path="/home/lcdinwcy/public_html/$section/$newdirname";
$addeddir=mkdir($path, 0777)
Once they're created, I can't delete them. It says permission denied and the permission is set to 755. When I change it to 777 with my FTP client, it doesn't take effect. The permission is still set at 755 and I'm still unable to remove the folder.
I now have about 10 test folders I created that I can't delete.
Any ideas on how to delete them? Can I modify my code somehow to create subdirectories that I can delete?
Thanks.