I have a PHP script that creates a directory on my Linux host. I want to use .htaccess and .htpasswd to control access to the new directory. How do I create these files with PHP?
Links to existing tutorials or example code accepted!
I found a sie that tell about how you would go about doing this.
http://www.gameproducer.net/2006/12/09/how-to-create-password-protected-directory-for-confidential-material/
Good Luck!