Confirmation Email

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dumlee
Forum Commoner
Posts: 33
Joined: Mon Jun 30, 2008 12:06 am

Confirmation Email

Post by dumlee »

i need to Send an email when one user registers on the site from registration page.

This email must contain a link which when clicked should contain:

userid in query string and should update confirm field in database to 1.
User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

Re: Confirmation Email

Post by Apollo »

So, exactly what is the question? :)
Rovas
Forum Contributor
Posts: 272
Joined: Mon Aug 21, 2006 7:09 am
Location: Romania

Re: Confirmation Email

Post by Rovas »

You add the user to the database after checking if they are correct, using insert. Check if the insert was successful, if yes use the mail function to send the confirmation message.
Post Reply