RE: [PHP] add to .htpasswd via php
| From: | Matt Schroebel | Date: | Wed, 02 May 2001 17:43:11 +0000 |
| Subject: | RE: [PHP] add to .htpasswd via php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51184@lists.php.net to get a copy of this message | ||
You might want to forget the exec and write direct to the file as in this code gallery item:
http://www.zend.com/codex.php?id=521&single=1
> From: Joseph Koenig [mailto:joe@jwebmedia.com]
> Sent: Wednesday, May 02, 2001 1:40 PM
> I'm attempting to streamline my work by writing a script that
> will add a
> user to the .htpasswd file. If echo the command I'm sending
> (via exec())