I want to copy my old customers password from oscommerce to OC.
For example OC hash: 098f6bce4621d363cade4e932627b4f6 << edited the hash
For example OSC hash: $P$D5wHt4I9Nkjqo6Orm.5y8ONNocWPhe. << edited the hash
Thanks

I use OC 1.5.2.1
Code: Select all
$password = "banana";
$salt = "aB1cD2eF3G";
$password = md5($salt.$password);
Code: Select all
if (md5(md5($test_string). $test_string) == md5($salt.$password))
echo $test_string; // this is the password
Users browsing this forum: No registered users and 9 guests