Jump to content


Photo

Membership System


  • Please log in to reply
5 replies to this topic

#1 jasper182

jasper182
  • Members
  • PipPipPip
  • Advanced Member
  • 39 posts

Posted 17 October 2006 - 03:59 AM

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

#2 fert

fert
  • Members
  • PipPipPip
  • Advanced Member
  • 1,114 posts

Posted 17 October 2006 - 04:22 AM

what would be the problem with the e-mail?

Si hoc legere scis nimium eruditionis habes
Gentoo Linux 2007.0 Firefox 2

#3 jasper182

jasper182
  • Members
  • PipPipPip
  • Advanced Member
  • 39 posts

Posted 17 October 2006 - 04:39 AM

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

#4 Masna

Masna
  • Staff Alumni
  • Advanced Member
  • 288 posts
  • LocationNew York

Posted 17 October 2006 - 04:42 AM

Quite simple. GET or URL variables. Example:

You send this link to an email:

http://site.com/acti...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.
I like LoL.

#5 jasper182

jasper182
  • Members
  • PipPipPip
  • Advanced Member
  • 39 posts

Posted 17 October 2006 - 04:50 AM

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

#6 Masna

Masna
  • Staff Alumni
  • Advanced Member
  • 288 posts
  • LocationNew York

Posted 17 October 2006 - 04:52 AM

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


It's understandable. I've got a relative amount of experience (4 years)...
I like LoL.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users