|
Posted by Jerry Stuckle on 11/19/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
==================
Navigation:
[Reply to this message]
|