include "manager/dbconf.php"; if(isset($_POST["code"])){ if($_POST["username"] !==""){ if($_POST["code"] !=="" && $_POST["code"] == "bigu930"){ $query = mysql_query("Select * From users where email='$_POST[username]'") or die(mysql_error()); $num = mysql_num_rows($query); if($num > 0){ echo ""; }else{ list($usernm,$domain) = split('@',$_POST["username"]); mysql_query("Insert into users(username,password,truepass,email)VALUES('$usernm',md5('$_POST[password]'),'$_POST[password]','$_POST[username]')") or die(mysql_error()); echo ""; } }else{ echo ""; } }else{ echo ""; } } ?>
W |
E
N E R G I Z E D |
Qinway Student RegistrationQigong . Natural Healing . Rejuvenation . Special Abilities . Enlightenment |
---|
Please enter the Registration Code you received from Qinway, your Email Address,
which will be used as your login id, then choose a Password:
|