phantz Posted March 30, 2008 Posted March 30, 2008 Hello everyone, I have old store that need to be converted into oscommerce, i imported all data from the old database but the problem in the customers password. How to make the password work in oscommerce because the passwords are plain. Thank you for all helps. John
arietis Posted April 2, 2008 Posted April 2, 2008 I have old store that need to be converted into oscommerce, i imported all data from the old database but the problem in the customers password.How to make the password work in oscommerce because the passwords are plain. you will need to write a script that will read each customer's password and encrypt it using the tep_encrypt_password() function found in includes/functions/password_funcs.php and the write it to the database again.
phantz Posted April 10, 2008 Author Posted April 10, 2008 you will need to write a script that will read each customer's password and encrypt it using the tep_encrypt_password() function found in includes/functions/password_funcs.php and the write it to the database again. HI, Thank you for the reply, could you explain step by step how to do it?
Guest Posted April 10, 2008 Posted April 10, 2008 here is an example you can build a script from . . mysql> SELECT MD5('testing'); -> 'ae2b1fca515949e5d54fb22b8ed95575'
phantz Posted April 10, 2008 Author Posted April 10, 2008 here is an example you can build a script from . . mysql> SELECT MD5('testing'); -> 'ae2b1fca515949e5d54fb22b8ed95575' Thanks for the reply, i need to import more than 5000 customers password. Should i have to doit manually one by one? Or there is a script ready to use to convert them?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.