www.webdeveloper.com
Results 1 to 6 of 6

Thread: Best way to send email verification link in php ?

  1. #1
    Join Date
    Mar 2014
    Posts
    70

    Best way to send email verification link in php ?

    Is this way fully secure to send the link to the email?

    http://example.com/verification.php?code=$activationcode

    More how to stop this url to be directly access.

  2. #2
    Join Date
    Mar 2014
    Posts
    70

    Want to send link in this way!!!!

    Use instead something like this: example.com/confirm_email/749c71f6a29220a3ec168df

    any way ? don't want to append in url ...

  3. #3
    Join Date
    Feb 2013
    Posts
    95

  4. #4
    Join Date
    May 2014
    Posts
    75
    You could also have them enter their account name or something else select at registration on the activation page to make sure it is actually the same person who created the account. Not just someone who received an activation email for someone else's account and wanted t see if there was money in it or something.

  5. #5
    Join Date
    Mar 2014
    Posts
    70
    @Gravy: I know how to check that but i don't allow anyone to directly enter any new activation code inside my url parameters.. that why i want example.com/confirm_email/749c71f6a29220a3ec168df this structure to dynamically create new url for ever activation ? have u any solution for this

  6. #6
    Join Date
    May 2014
    Posts
    75
    It's just an option I've seen used really, it's not exactly needed, but it's an option.
    When they click the activation link:

    example.com/confirm_email/749c71f6a29220a3ec168df

    There would just be a form asking for their username or their password as well to complete activation.

    You just test the Activation code in the URL and also test the other detail in a post form.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles