Jump to content

email verification system


makka

Recommended Posts

it might be easy to just md5 their password and then send them it out..

or you could save their session in the database aswell..

 

put this

session_start();

now just save the session_id([string $id])

thats the session id..

 

then mail that too them

Link to comment
Share on other sites

hello i need to make a email verification system for my registration were it will send you an email with a url with a crazy string on the end as you see any one know were to start?

 

well you see what i done when i had to do an email validation link is this:

 

i sent the SessionID along in a url as well as a plain username so the URL looked like this:

 

http://www.somesite.com/validate.php?usr=UserName&c=(session_ID)

 

when the page was called on then the username was pulled from the database the sessionID was compared with the one in the database, if it checked out then there was a active flag in a database i.e. a column in the database called active if it is set to 0 then thats inactive and they cant log in if its set to 1 then thats active and can log in.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.