The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
For the system I've created I have users registering with the site, Just wondered what I should be checking when they click the submit button.
At the moment I check to make sure what is entered is not an empty string, that something has been entered and that it is of a suitable size. ie between 3 and 12 characters.
Using MD5 to hash their password and I'm asking for their password twice to make sure that they both match.
Was just wondering if there are other things I should be checking and how to go about it. ie how do I go about making sure that the date of birth they enter is a valid date? Would appreciate any other pointers.
When they register I'm asking for:
UserName:
Password:
Re-type Password:
First name:
Last name:
Address:
Town/City:
Postcode:
E-mail:
Mobile Phone Numer:
Date of Birth (YYYY-MM-DD):
Thanks
Thanks
Cheers for the link, just going to read through that now.
Secondly, you can actually run an MX check to see if that email address is a real email address that can accept email: [URL]http://www.zend.com/codex.php?id=449&single=1[/URL]
Of course, you can obviously send them an email and force them to validate the link...up to you...
For the system I've created I have users registering with the site, Just wondered what I should be checking when they click the submit button.
At the moment I check to make sure what is entered is not an empty string, that something has been entered and that it is of a suitable size. ie between 3 and 12 characters.
Using MD5 to hash their password and I'm asking for their password twice to make sure that they both match.
Was just wondering if there are other things I should be checking and how to go about it. ie how do I go about making sure that the date of birth they enter is a valid date? Would appreciate any other pointers.
When they register I'm asking for:
UserName:
Password:
Re-type Password:
First name:
Last name:
Address:
Town/City:
Postcode:
E-mail:
Mobile Phone Numer:
Date of Birth (YYYY-MM-DD):
Thanks