hi, i want a php script to create htdigest file...

the correct file is:
username:admin
digest:trac
pass:admin

admin:trac:71ea86385b35d5e2575b0baec1904ded

i try to do it on php with this:

echo "admin:trac:".md5("admin");

but i receive this:

admin:trac:21232f297a57a5a743894a0e4a801fc3

how is the htdigest format?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to