Thread: note 20104 deleted from ref.exec by hholzgra
note 20104 deleted from ref.exec by
hholzgra
2006-07-30 13:24:49
Note Submitter: alan_quill at hotmail dot com
----
Simple way to encrypt a password using htpasswd.exe.
$anyname="/path/htpasswd -nb $username
$password";
$somename=exec($anyname);
eg.For windows
$command="c:\apache\bin\htpasswd.exe -nb $username
$password";
$encrypt=exec($command);
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php