Creating a custom md5 user id from form information

shellymonkey

New Member
I am creating a form that will capture all of the form data and store it in a database, what I would like to do is use some of the form data to create a custom md5 user id to prevent multiple entries, I know that this is most probably not the most ideal way of doing it, so if there is a better way of creating a unique md5 uid that I can use for each user, please enlighten me.I have considered just using a random number and checking the database against the email and first name, but I am curious to see if there is a better way of doing it.Thanx in advance!
 
Back
Top