Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2006
    Posts
    61
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Using email address to validate users...

    Hi,

    You know when you register with forums such as this one, they send you an e-mail address and ask you to click on a link to complete the registration. This is to filter out bogus registrations I imagine. I was just wondering how is this achieved in practice? What do you put into the link that you send the user so that you can know when they navigate back via the link that they are a valid user? I would like to add the same technique to my own web site.

    Any ideas greatly appreciated.

    /jlar

  • #2
    Senior Coder Len Whistler's Avatar
    Join Date
    Jul 2002
    Location
    Vancouver, BC Canada
    Posts
    1,323
    Thanks
    26
    Thanked 100 Times in 100 Posts
    PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide by Larry Ullman has a very good tutorial on a register script with that feature.



    No advertising please


    ------------------------------
    Last edited by WA; 08-05-2008 at 07:18 PM.
    Leonard Whistler

  • #3
    New Coder
    Join Date
    Jul 2008
    Location
    India
    Posts
    39
    Thanks
    0
    Thanked 2 Times in 2 Posts
    This is a very simple method, may have some flaws, feel free to ask them-


    After filling up the validated form for registration, link with some randomly generated characters(alphanumeric or special characters, decide your combination) could be sent to the user in email at email address specified.

    That randomly generated combination of characters are to be stored in the database for that User.

    If the link is being clicked which is passed in the email, and the character combination sent in that URL is same with database for that User then make that user active, by updating User table and 'user_active' column as 'Yes'.

  • Users who have thanked ssonawa for this post:

    eeijlar (08-06-2008)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •