Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 16th, 2004, 04:47 PM
Friend of Wrox
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default Form Submission - Instant Answer

When i fill a membership form, i use to get instant message to activate/confirm my membership/identity ..
.. when i click specified link, i read you are now registered!
.. also i can unsubscribe/disclaim my membership in this html email by clicking other link provided at bottom.

how can this be done using php-mysql? any other trick?

please add suggestions -n- tips as an generousity to your complete answer.
PHP, SEO | anshul shrivastava | mediasworks.org | FB
Old April 23rd, 2004, 03:22 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 101
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Moharo


do you mean email by "instant message" in your question? if you do, this is what you should do... say you've registered and want to get a email that you've just signup... you do this using php function mail()... check www.php.net for more info on mail() function

take care


the genuine genius
Old April 23rd, 2004, 03:57 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts

I think you're talking about getting a verification email.

You can create a table that contains "unverified" user accounts. You can generate some string to act as a "verification code" for the user. Put the user details plus this verification code in the unverified users table.

The user will get an email and click on a link that contains both the user ID (or email address) and the verification code. These two items are looked up in the verification table and if there is a match, the user account details are moved from the unverified users table to the active users table.

Take care,


Similar Threads
Thread Thread Starter Forum Replies Last Post
form submission...help!? mdbrueckner ASP.NET 2.0 Basics 1 September 19th, 2007 06:16 PM
Simple Form Submission Maxood Beginning PHP 3 July 17th, 2004 06:03 AM
conditional form submission moushumi Classic ASP Basics 1 March 30th, 2004 08:12 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.