PHP Experts
Pages
Home
Monday, March 21, 2011
Joomla Password generation
Use the below code for generating joomla password.
$new_password = "Your password";
$salt = JUserHelper::genRandomPassword(32);
$
crypt = JUserHelper::getCryptedPassword($new_password, $salt);
$password = $crypt.':'.$salt;
I hope it will help you..
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment