bobvaz Posted February 22, 2009 Share Posted February 22, 2009 Newbie - I am looking for a tutorial explaining how to create a return email confirmation link. Program is reading a database of names and sending an email to each saying they have been selected to participate in an event. I would like to add a return link in the email that when clicked will update the database that they will participate. If anyone knows where a tutorial or explanation of how do this is located, would appreciate the assistance. Thanks. Bob Quote Link to comment Share on other sites More sharing options...
dbo Posted February 22, 2009 Share Posted February 22, 2009 Lots of ways to do it. One way would be to create a random number (unique identifier) that you attach to their username (in a database). In the email you send you pass in the unique id in the query string. When the user clicks it it looks up the identifier to make sure its valid. If so it updates the database to say "Yo, homie. I'm participating." Quote Link to comment Share on other sites More sharing options...
bobvaz Posted February 23, 2009 Author Share Posted February 23, 2009 Great! Thanks dbo.....I will try a google search on creating unique identifiers. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted February 23, 2009 Share Posted February 23, 2009 mt_rand, uniqid, or pick a random character from an array of characters until you think your string is long enough. Quote Link to comment Share on other sites More sharing options...
bobvaz Posted February 23, 2009 Author Share Posted February 23, 2009 thanks all Quote Link to comment 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.