[PHP] Re: php/.htaccess/.htpasswd

2002-05-03 Thread Mike Eheler
Ahh. I didn't really consider that. Excellent idea. Mike On Fri, 2002-05-03 at 21:58, serj wrote: > The way I designed the script was so that each time they want to save > changes to their htaccess file through the script they have to enter their > password. So I never have to actually save the

[PHP] Re: php/.htaccess/.htpasswd

2002-05-03 Thread Mike Eheler
The problem is not in them being able to overwrite the .htaccess *and* getting your FTP password.. those are the cons for both solutions we have presented, respectfully. Right now the ideal solution seems to be this: save new .htaccess to a temp file save new .htpasswd to a temp file use PHP's

[PHP] Re: php/.htaccess/.htpasswd

2002-05-03 Thread serj
The way I designed the script was so that each time they want to save changes to their htaccess file through the script they have to enter their password. So I never have to actually save the password anywhere in the script. On Fri, 3 May 2002, Mike Eheler wrote: > The problem is not in them be