You are here: Re: sending user an email after they have completed registration successfully « PHP Language « IT news, forums, messages
Re: sending user an email after they have completed registration successfully

Posted by Virginner on 07/12/07 12:58

"Kevin Raleigh" <kraleigh@sbcglobal.net> wrote in message
news:zI-dnZmw2YepLwjbnZ2dnUVZ_qOpnZ2d@giganews.com...
>I am using your second suggestion, whereby the user is sent an email link
> with a random number on it that resides in the database along with the
> user
> "id". However I am having trouble understanding what the page should look
> like that handles the incoming data from:
> web address=
> http://www.myUrl.com/pageThatHandlesScript.php?id="id&randNum="randNum"
>
<SNIP>

Hi Kevin (plse don't top post!)

URL shouild look like http://www.fred.com/validate.php?id=999&code=1234

validate.php:

check existance of both $_GET["id"] and $_GET["code"]
look up $_GET["id"] in database and retrieve matching code
if $_GET["code"] matches code found in database, then
update datebase validated field to true or 'Y' or whatever
display appropriate message
else
display error message

Now, do I get a cut?

 

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

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