hi guys, second last thing I need to figure out (last is just sanitizing all my input correctly :)).
I tried searching the site but couldn't find anything.
I want to send an email to the successfully registered user that contains a link that they must click to activate the account - the account will not work until the link is clicked.
I have a few very rough guesses...
1) have an 'activated' (0 or 1) and a 'code' field in the users table
2) create activate.php
3) create a random string, insert it into the 'code' field.
4) send an email with link to activate.php?code=the-random-code
5) check the-random-code in the users db
6) activate that user if it is there
is that about right? if so, how do you send an email in php! hah.