jasper182 Posted October 17, 2006 Share Posted October 17, 2006 Hello, I am looking at building a membership system for my web site and I was wondering if there was any good tutorials or premade packages out there that I could use. I feel that I could build everything myself except the email notification system would give me problems. If you could help point me in the right direction, I would appreciate it greatly. Thanks Quote Link to comment Share on other sites More sharing options...
fert Posted October 17, 2006 Share Posted October 17, 2006 what would be the problem with the e-mail? Quote Link to comment Share on other sites More sharing options...
jasper182 Posted October 17, 2006 Author Share Posted October 17, 2006 Well, I would like to send them a verification email, but I'm not sure how to link it back to my system. Thats the thing thats giving me the biggest problem. I've used systems like that many times, but I'm not sure how the links are created and used when they are emailed to your account Quote Link to comment Share on other sites More sharing options...
Masna Posted October 17, 2006 Share Posted October 17, 2006 Quite simple. GET or URL variables. Example:You send this link to an email:http://site.com/activate.php?user_id=3&activation_code=3434363534When they create an account, create an activation code, store in within their field in your users' table, and send them an email with their newly created id and activation code.id = mysql_insert_id();activation_code = rand();It's all logic my friend...Enjoy. Quote Link to comment Share on other sites More sharing options...
jasper182 Posted October 17, 2006 Author Share Posted October 17, 2006 Well that makes perfect sense, and I'm a little embarassed I didn't think of that. Thank you very much for your help. ;D Quote Link to comment Share on other sites More sharing options...
Masna Posted October 17, 2006 Share Posted October 17, 2006 [quote author=jasper182 link=topic=111732.msg452948#msg452948 date=1161060659]Well that makes perfect sense, and I'm a little embarassed I didn't think of that. Thank you very much for your help. ;D[/quote]It's understandable. I've got a relative amount of experience (4 years)... 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.