PHP::Auth requiring valid email address to authenticate

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • e_matthes@hotmail.com

    PHP::Auth requiring valid email address to authenticate

    Hello everyone,

    I am about to implement an authentication system on the site I am
    building. I don't care much what users choose for their username and
    password, but I want to verify that users have given a valid email
    address before allowing them access to restricted content. Will Auth
    facilitate the email validation process, or does it only deal with
    usernames and passwords?

    I don't need to be told in detail how to do all this, but I'd like to
    know early if I'm barking up the wrong tree by trying to use Auth with
    this intention in mind. If so, is there a better package to use for
    authentication that requires a valid email address?

    Eric

  • Pedro Graca

    #2
    Re: PHP::Auth requiring valid email address to authenticate

    e_matthes@hotma il.com wrote:
    I am about to implement an authentication system on the site I am
    building. I don't care much what users choose for their username and
    password, but I want to verify that users have given a valid email
    address before allowing them access to restricted content. Will Auth
    facilitate the email validation process, or does it only deal with
    usernames and passwords?
    Mail them a link to a validate page. Something like

    To validate your email address click the following link:


    --
    File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

    Comment

    • Ron Barnett

      #3
      Re: PHP::Auth requiring valid email address to authenticate

      <e_matthes@hotm ail.comwrote in message
      news:1160155512 .852675.61110@k 70g2000cwa.goog legroups.com...
      Hello everyone,
      >
      I am about to implement an authentication system on the site I am
      building. I don't care much what users choose for their username and
      password, but I want to verify that users have given a valid email
      address before allowing them access to restricted content. Will Auth
      facilitate the email validation process, or does it only deal with
      usernames and passwords?
      >
      I don't need to be told in detail how to do all this, but I'd like to
      know early if I'm barking up the wrong tree by trying to use Auth with
      this intention in mind. If so, is there a better package to use for
      authentication that requires a valid email address?
      >
      Eric
      Do you mean the Pear module Auth:: ?

      I have implemented a similar system as you describe but, not using the
      library.

      I generate an MD5 out of some random data and the users details then email
      it to them as part of a link. in a 'welcome' message addressed to the email
      account they specified/

      calling the link recovers their original sign in data from the database (key
      is the MD5) then by repeating some other info they were asked to provide,
      completes the sequence and their account is validated.
      I give them a few days to reply otherwise the account application is voided
      and purged.

      Seems to work fine for me so far.

      you may also find code in PHP classes that can meet your needs
      Free PHP Classes and Objects 2025 Versions with PHP Example Scripts, PHP Tutorials, Download PHP Scripts, PHP articles, Remote PHP Jobs, Hire PHP Developers, PHP Book Reviews, PHP Language OOP Materials


      HTH

      Ron



      Comment

      Working...