I have been trying to change the htaccess and htpasswd files via php
everytime i use the code and try to add a user etc i get this error message:
Warning: fopen(.htpasswd): failed to open stream: Permission denied in /home/m1ck97/public_html/protected/phpaccess103.php on line 1022
Warning: fputs(): supplied argument is not a valid stream resource in /home/m1ck97/public_html/protected/phpaccess103.php on line 1024
Warning: fclose(): supplied argument is not a valid stream resource in /home/m1ck97/public_html/protected/phpaccess103.php on line 1026
Can anybody help or suggest another script that will allow me to change the htaccess and htpasswd via php
thanks in advance
the scipt i use is from here:
http://www.krizleebear.de/phpaccess/dynamisch/index.php?pageID=5