Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [09:25:08 | Upraveno 09:25:30] MR.GR8(H - Gamer - Michy): function Register($username, $password, $mail)
- {
- $username = SecureString($_POST['username']);
- $password = SecureString($_POST['password']);
- $mail = SecureString($_POST['mail']);
- $time = time();
- $ipaddr = $_SERVER['REMOTE_ADDR'];
- $query = "INSERT INTO players(userLogin, userPassword, userEmail, userIpAddress, userLastClick, userLastIpAddress) VALUES('$username','$password','$mail','$ipaddr','$time','$ipaddr')";
- if (isset($username) && isset($password) && isset($mail))
- mysql_query($query);
- else
- echo "error";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement