You are here: Re: PHP::Auth requiring valid email address to authenticate « PHP Programming Language « IT news, forums, messages
Re: PHP::Auth requiring valid email address to authenticate

Posted by Ron Barnett on 10/06/06 19:17

<e_matthes@hotmail.com> wrote in message
news:1160155512.852675.61110@k70g2000cwa.googlegroups.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
http://ronbarnett.users.phpclasses.org/

HTH

Ron

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация