Confirming Someone's email

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David

    Confirming Someone's email

    I have come up with the idea to confirm someone's email by generating
    a random codeword which is sent to the email address they enter on a
    registration form.
    I then get them to click a link which takes them to a page where they
    have to then enter their email along with the codeword.
    This ensure that the email address is valid, However...

    Is there an easier way of doing it? I know it is possible to simple
    email them a link which when they click it completes the registration
    process, but I have no idea how to implement such a thing.

    Any help welcomed!
  • Pedro

    #2
    Re: Confirming Someone's email

    David wrote:[color=blue]
    > I have come up with the idea to confirm someone's email by generating
    > a random codeword which is sent to the email address they enter on a
    > registration form.
    > I then get them to click a link which takes them to a page where they
    > have to then enter their email along with the codeword.
    > This ensure that the email address is valid, However...
    >
    > Is there an easier way of doing it? I know it is possible to simple
    > email them a link which when they click it completes the registration
    > process, but I have no idea how to implement such a thing.[/color]

    Include the code in the URL you send them, something such as


    Then your validate.php script verifies that code against the database.
    If the code is not specified in the URL provide a text box for it.

    This code should only be valid for some time (24 hours, a week, ...)

    .... and they are not required to type anything, not even their address.


    --
    I have a spam filter working.
    To mail me include "urkxvq" (with or without the quotes)
    in the subject line, or your mail will be ruthlessly discarded.

    Comment

    • furry

      #3
      Re: Confirming Someone's email

      There is a superb tutorial on phpfreaks.com that explains all this, plus all
      the signup, validation, lost password, stuff that you need when creating a
      membership system on your site.

      This utilises MySQL as the database. All the code is provided on the last
      page.



      Hope this helps - it sure helped me.

      "Pedro" <hexkid@hotpop. com> wrote in message
      news:boau91$1bi d1d$1@ID-203069.news.uni-berlin.de...
      David wrote:[color=blue]
      > I have come up with the idea to confirm someone's email by generating
      > a random codeword which is sent to the email address they enter on a
      > registration form.
      > I then get them to click a link which takes them to a page where they
      > have to then enter their email along with the codeword.
      > This ensure that the email address is valid, However...
      >
      > Is there an easier way of doing it? I know it is possible to simple
      > email them a link which when they click it completes the registration
      > process, but I have no idea how to implement such a thing.[/color]

      Include the code in the URL you send them, something such as


      Then your validate.php script verifies that code against the database.
      If the code is not specified in the URL provide a text box for it.

      This code should only be valid for some time (24 hours, a week, ...)

      .... and they are not required to type anything, not even their address.


      --
      I have a spam filter working.
      To mail me include "urkxvq" (with or without the quotes)
      in the subject line, or your mail will be ruthlessly discarded.


      Comment

      Working...