![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 5
![]() |
E-mail confirmation
Hi, does anyone know of any techniques to do e-mail confirmation? Like when you sign up for a site, and you have to then go click a link in your email before you can start using the site. Any help wolud be greatly appreciated!
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials. --WilliamSChips on Slashdot |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Create an email ID for that user in your database, along with a passcode that is sent to the user. Whip up a PHP page that sets a boolean in your database to true when these details are entered (use $_REQUEST so they can use HTTP GET to enter the information). Then email them the details, a link to the PHP page, and a link to the page that automatically enters the info via GET.
|
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Sep 2004
Posts: 207
Rep Power: 5
![]() |
Exactly what Ooble said. To generate an activation key just use the current time or a random number or basically any number that is always changing and then md5 hash it.
Then create a page that searches for the user with that key and makes that boolean true.
__________________
_______________________________ BlazingWolf |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|