Radu Bighiu wrote:

How can i encrypt passwords with php or perl like vpasswd?

crypt()


This does require your system so support md5 passwords for it to work in php.


http://www.php.net/crypt




I whant to insert and change passwords from the web page dirctly in MySQL vpopmail db via PHP or Perl script

It should be, but I don't use MySQL.


Is this posible? What is encrypton algorithm or MD5 step for encryption?


The salt value must start with $1$


Thanx!

P.S. Sorry for my enghish






Reply via email to