mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 15:46:18 +00:00
changed to use class
This commit is contained in:
parent
09c1ac3828
commit
b4ec05e9b3
1 changed files with 4 additions and 4 deletions
|
@ -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 = "";
|
||||||
|
|
Loading…
Reference in a new issue