Re: apache htpasswd win32
| From: | Nico Vrouwe | Date: | Wed, 13 Mar 2002 14:03:59 +0000 |
| Subject: | Re: apache htpasswd win32 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88345@lists.php.net to get a copy of this message | ||
You could do it like this:
exec( "htpasswd -b $passwdfile $username $password" );
/nico
<DrouetL@ldnegoce.com> wrote in message
news:OF58A125C4.D0F534FF-ONC1256B7B.0048D8D6@louisdreyfus.fr...
>
> Hi everybody
>
> I would like to know if somebody already wrote a script to allow apache
> user administration from php under Win32
>
> All the scripts I found are made for linux (using crypt function) I tried
> to generate the password with the md5 function but it's not working
> perhaps I don't know how to use it.
>
> Could you help me ?
>
> Laurent Drouet
>
>