Compare passwords at registration
- killfrog47
- Posts: 106
- Joined: Tue Mar 12, 2013 2:52 am
- Location: Tempe, AZ
- Contact:
Compare passwords at registration
So I am working on some user registration and login system. I want to compare the users password before creating the account. What is the best way of doing that? Using PHP or javascript? I know HOW to do it just not sure where to do it, server or client side.
Re: Compare passwords at registration
Personally I think server side. Since you should be using input type password, the user won't know which part of their two fields are different so they would have to retype it anyways.
<?php while(!$succeed = try()); ?>
- killfrog47
- Posts: 106
- Joined: Tue Mar 12, 2013 2:52 am
- Location: Tempe, AZ
- Contact:
Re: Compare passwords at registration
gotcha gotcha alrighty =) thanks!ScTech wrote:Personally I think server side. Since you should be using input type password, the user won't know which part of their two fields are different so they would have to retype it anyways.