Index Code

"; } ?> 25||strlen($fn)>25||strlen($ln)>25) { echo "The maximum limit for username/first name/last name is 25 characters!"; } else { // check the maximum length of password does not exceed 25 characters and is not less than 5 characters if (strlen($pswd)>30||strlen($pswd)<5) { echo "Your password must be between 5 and 30 characters long!"; } else { //encrypt password and password 2 using md5 before sending to database $pswd = md5($pswd); $pswd2 = md5($pswd2); $query = mysql_query("INSERT INTO users VALUES ('','$un','$fn','$ln','$em','$pswd','$d','0','Write something about yourself.','','','no')"); die("

Welcome to findFriends

Login to your account to get started ..."); } } } else { echo "Your passwords don't match!"; } } else { echo "Please fill in all of the fields"; } } else { echo "Sorry, but it looks like someone has already used that email!"; } } else { echo "Username already taken ..."; } } else { echo "Your E-mails don't match!"; } } ?> "); } else { echo 'That information is incorrect, try again'; exit(); } } ?>

Already a Memeber? Login below ...

Sign up Below ...

Comments

Popular posts from this blog