Reply to Re: Desperately in need of function

Your name:

Reply:


Posted by Jerry Stuckle on 12/24/96 11:46

John wrote:
> Hi, I wonder if anyone has any idea how to build or where to find this
> function: After processing a (mail) form the sender gets an email asking
> them to verify their sent data by clicking on a link in the mail. After
> clicking the form data are sent to the correct recipent (and thus verified
> by the sender).
>
> Please?
>
>

John,

Well, you need to generate a random string (i.e. by appending a string to a
username then hashing the result) and store it in a database, along with the
user's id and any other information.

You then need to send the user a message with the URL to a page and the has as a
parameter, i.e.

http://www.example.com/verify.php?parm=fwoiflkl

The destination page (verify.php in this case) needs to retrieve the string from
the parameter list, match it against the database and take the necessary action
to activate the user's account.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация