changed to use class

--HG--
branch : rc-botanic-webdev
This commit is contained in:
Botanic 2013-06-05 23:10:00 -07:00
parent 43e373fdcd
commit c66d9cf225

View file

@ -4,10 +4,10 @@ require( '../config.php' );
if (isset($_POST["Username"]) and isset($_POST["Password"]) and isset($_POST["Email"]) ) if (isset($_POST["Username"]) and isset($_POST["Password"]) and isset($_POST["Email"]) )
{ {
//check values //check values
$user = checkUser($_POST["Username"]); $user = users::checkUser($_POST["Username"]);
$pass = checkPassword($_POST["Password"]); $pass = users::checkPassword($_POST["Password"]);
$cpass = confirmPassword(); $cpass = users::confirmPassword();
$email = checkEmail($_POST["Email"]); $email = users::checkEmail($_POST["Email"]);
} else { } else {
$user = ""; $user = "";
$pass = ""; $pass = "";