You are here: Re: Form mail verify « All PHP « IT news, forums, messages
Re: Form mail verify

Posted by robert on 09/28/88 11:46

|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).

that's a pretty common feature...usually seen in "forgot password?"
scenarios. all you need is a table that holds a security key - usually in
the form of md5(uniquid(rand())) - along with the user name of the person
who forgot their password. the email contains the link (ex.
http://mydomain.net/reset.password.php?key=ab4390skdfj23489sdfjlllllllll ...
or whatever). the table should also store the date/time that it was used
(after they successfully reset their password).

that's the basic gist of it. i'm not sure what you're calling a "mail"
form...but essentially, you need a key that you generate and an email
address which you will store in a table...the recipient will click the link
w/n the email and the page specified in the link will look up the address
and key and see if it matched $_REQUEST['key']...if it does and it hasn't
been used before, then allow them whatever functionality you were trying to
secure...else, balk at them furiously that they've either used the key
before and it's no longer valid or that it appears they're trying to hack.

hth,

me

is it actual code you were wanting or just methodological descriptions?

 

Navigation:

[Reply to this 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

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