Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 05-17-2010 10:53:54

jackfinn
Member
Registered: 01-09-2010
Posts: 19

Import users AND passwords

I need to kneo how to inport a user list including their passwords so we dont need to input a couple hundred passwords by hand...

Thank You for your help in advance guys!

Offline

 

#2 05-17-2010 12:59:47

susan2go
Member
Registered: 04-19-2010
Posts: 81

Re: Import users AND passwords

That would make a nice mod.  I have 200,000 of them!

Offline

 

#3 05-18-2010 05:30:50

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Import users AND passwords

If the passwords to be imported are plain text you'll need to write a line or 2 of code to MD5 hash them then import them into core_users. If the passwords are already MD5 hashed just import them as they are.

Offline

 

#4 05-18-2010 19:12:23

susan2go
Member
Registered: 04-19-2010
Posts: 81

Re: Import users AND passwords

Mine are plain text.  I was thinking of reusing the code which posts the users to database from the registration form.  Could you kindly tell me where that is located? 

I have an old Perl cart that has stored 200,000 users in text files in my cgi-bin directory.  I'm going to have to read all those files named alphabetically A, B, C, etc. and post them to the users table.

Offline

 

Board footer