close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

non-encrypted password working login php expecting md5

Thread began 2/26/2014 1:08 pm by Brendan | Last modified 2/26/2014 1:38 pm by Jason Byrnes | 1487 views | 5 replies |

Brendan

non-encrypted password working login php expecting md5

I have built my registration pages using the md5 encryption for the password field. I am importing users from another db (xoops) that was encrypted, so I assigned a temporary password to each user (basically the text string before "@" in their email address - which is their user name).

I just imported all of the data to my database and I can't get the password to work. I'm assuming it's because the login password field is looking for the encrytped version of the password to compare to?

Any help is appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, if the login is configured to use MD5, you would need to encrypt the passwords that you import.

There is not an automated to do this, you would need to update each password to the MD5 encrypted string

Sign in to reply to this post

Brendan

There are 8800 users in my table. Is there a way in php my admin or any other way to update the "non-encyrpted" pass word to md5?

Sign in to reply to this post

Jason ByrnesWebAssist

try using:

UPDATE yourtable
SET PasswordColumn = MD5(PasswordColumn)

Sign in to reply to this post

Brendan

Thanks Jason, that did the trick!!

Sign in to reply to this post

Jason ByrnesWebAssist

your welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...