php - Password encryption in joomla -


i creating user web service in joomla. password encryption code

    $password= $_get["password"];  $salt = juserhelper::genrandompassword(32); $crypt = juserhelper::getcryptedpassword($password); $password = $crypt . ':' . $salt; 

but if trying login in website password. password not match database. using joomla version 1.5 please give suggestion

in joomla 2.5 user table passwords saved md5 hashed strings. if created new user, have generated md5 hashed password user assign user particular group saved in user group table.

read more

how can create new joomla user account within script?

http://forum.joomla.org/viewtopic.php?p=2114878

advise

$password= $_get["password"]; <--- not idea. never


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -