jdock1 Posted September 2, 2010 Share Posted September 2, 2010 So far I just want a basic structure, a database with one table with two values, yes or no. yes would be for email validated, no for email not validated. i just want it so when a user signs up, it sends a unique link to their email to validate their email. I cant even think right now, ive been coding all day and cant even begin to think of how to start this. anybody got any ideas? thanks Link to comment https://forums.phpfreaks.com/topic/212318-how-can-i-validate-emails-by-sending-a-link/ Share on other sites More sharing options...
trq Posted September 2, 2010 Share Posted September 2, 2010 You just need to generate a random string, store this along with the email address within a database. You then send an email with the link.... http://yoursite.com/confirm.php?id=somerandomstring In confirm.php, check for this random string and update verified from 0 to 1. Link to comment https://forums.phpfreaks.com/topic/212318-how-can-i-validate-emails-by-sending-a-link/#findComment-1106256 Share on other sites More sharing options...
Rifts Posted September 2, 2010 Share Posted September 2, 2010 here is a killer guide http://www.learnphponline.com/scripts/email-activation-for-php-forms Link to comment https://forums.phpfreaks.com/topic/212318-how-can-i-validate-emails-by-sending-a-link/#findComment-1106321 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.