Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Convert plain password


phantz

Recommended Posts

Posted

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

Posted
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.

  • 2 weeks later...
Posted
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?

Posted

here is an example you can build a script from . .

 

mysql> SELECT MD5('testing');

-> 'ae2b1fca515949e5d54fb22b8ed95575'

Posted
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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...