|
Posted by Kevin Raleigh on 07/12/07 04:50
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"
I was wondering if someone could give me an idea of what the page looks like
that would validate incoming data. Having trouble describing this because I
don't know anything about it. But, basically if I send an email to my
recently logged in user and the address is dynamic how does the page connect
with a page on my server? Does the page connect with
http://www.myUrl.com/pageThatHandleScript.php
Will the browser just ignore the data after the question mark?
web address=
http://www.myUrl.com/pageThatHandlesScript.php?id="id&randNum="randNum"
The link contains the data needed to validate them but, ... confusion???
your insight would be most welcome
Thank You
Kevin
"Virginner" <theDOTbin@virginLOSEIT.net> wrote in message
news:dQLji.6781$fi4.4233@newsfe7-win.ntli.net...
> "Kevin Raleigh" <kraleigh@sbcglobal.net> wrote in message
> news:dsOdnXF__tWwZhPbnZ2dnUVZ_qSrnZ2d@giganews.com...
> > the first email was confusing so I reposted....
> >
> >
> > I would like to send my user an email after they register so that I can
> > verify their
> > email address.
> > .
> > Can anyone advise
>
> use the mail() function to:
>
> a. Send a random password to their email address, rather than getting them
> to enter one themselves. Once they received the password and logged into
> you can provide a "change password" option.
>
> or
>
> b. Put in a "verified" field in the db. Send a unique URL to the user, a
> copy of which is in the db. User clicks on URL in email, which fires a
> script to make the verified field "true". They can then login using the
> password they had originally provided.
>
> Have you now sorted your form and header() issues? You have not commented
on
> that thread ;-)
>
> D.
>
>
[Back to original message]
|