Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 12th, 2005, 9:26 PM   #1
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
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
uman is offline   Reply With Quote
Old Jul 13th, 2005, 11:49 AM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jul 13th, 2005, 9:33 PM   #3
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 4 BlazingWolf is on a distinguished road
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
BlazingWolf is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:30 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC