TECH Email confirmation Script?

Deviance

Can't you smell that smell?
OT Supporter
Jul 10, 2007
5,770
Rocky Mountain High
Anyone have an email confirmation script? Basically, I just need the user to verify their email by clicking the link and setting the confirmed field to 1.

Visitor signs up. The form contains basic signup information. This is added to the database. The database also contains 2 more fields. Confirmed and ConfCode. Before it enters the row in the database, it generates a 10 digit code and puts it in the confcode field.

My thought is to then generate the email using Emailaddress, firstname, and the confcode. something like www.mywebsite.com/confirm.php?code=73FH7G2lIU.

Confirm.php would grab the code, search that field in the db for that code, finding it, and change the confirmed field to 1.

Anyone have anything like this laying around?
 

Users who are viewing this thread

About Us

  • Please do not post anything that violates any Local, State, Federal or International Laws. Your privacy is protected. You have the right to be forgotten. Site funded by advertising, link monetization and member support.
OT v15.8.1 Copyright © 2000-2022 Offtopic.com
Served by fu.offtopic.com

Online statistics

Members online
477
Guests online
55
Total visitors
532

Forum statistics

Threads
369,740
Messages
16,915,963
Members
86,875
Latest member
ddunn9448