Re: Functionality to check for duplicate usernames, confirm passwords

Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]>
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
On 13/06/2005, at 11:40 PM, Lukas Smith wrote:

> Dan Rossi wrote:
>>
>
> What do you mean? Are you talking about the client here? Multiple 
> passwords for the same user name? Same passwords for multiple users? 
> What do you mean with confirm passwords? Are you talking about a two 
> stage sign up where you have to activate your account through an 
> email?
>
> Elaborate ...
>

Its late here 11:45pm :)


Ok I am building a signup form, where a customer will key in some 
details, and then a username and password.

I have built an auth system in the past which i am trying to phase out 
for liveuser. It does a strcmp for a password and then a confirm 
password, which is just a second password field to make sure they dont 
put in any typos. It also checks for duplicate usernames in the system 
to prevent the unique username db error being thrown :) The user is not 
active until an admin goes into the "Frontend" :) and confirms them, 
when a customer has joined the admin will get an email to confirm them.

Most of this is a frontend issue, but I was wondering if there are 
methods or functionality to do these password checks aswell as a 
duplicate username check to obviouslly prevent the duplicate key 
database errors :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.