You could do it like this: exec( "htpasswd -b $passwdfile $username $password" );
/nico <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php