Jump to content

Archived

This topic is now archived and is closed to further replies.

jasper182

Membership System

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Quite simple. GET or URL variables. Example:

You send this link to an email:

http://site.com/activate.php?user_id=3&activation_code=3434363534

When 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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
[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)...

Share this post


Link to post
Share on other sites

×

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.