makka Posted May 9, 2007 Share Posted May 9, 2007 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? Quote Link to comment https://forums.phpfreaks.com/topic/50620-email-verification-system/ Share on other sites More sharing options...
only one Posted May 9, 2007 Share Posted May 9, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/50620-email-verification-system/#findComment-248822 Share on other sites More sharing options...
flappy_warbucks Posted May 9, 2007 Share Posted May 9, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/50620-email-verification-system/#findComment-248826 Share on other sites More sharing options...
makka Posted May 9, 2007 Author Share Posted May 9, 2007 true what about just md5ing there user name or setting a rand then saving that to the db and then mailing it to them when they click it it will set it to 0 and then there acc is active Quote Link to comment https://forums.phpfreaks.com/topic/50620-email-verification-system/#findComment-248836 Share on other sites More sharing options...
only one Posted May 9, 2007 Share Posted May 9, 2007 yea it all works.. Quote Link to comment https://forums.phpfreaks.com/topic/50620-email-verification-system/#findComment-248838 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.