I am writing a program that password protects directories on the fly by creating a .htpasswd and .htaccess in the directories with the specified information.
The problem is - I can not delete the directories, not the .htaccess/.htpasswd files. How can I do this via PHP, so that I may be able to create AND delete password protected directories? I haave the creating done...just not the deleting.
If anyone could offer advice, I would greatly appreciate it.
Bryan