Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function test_input($data) {
- $data = trim($data);
- $data = stripslashes($data);
- $data = htmlspecialchars($data);
- return $data;
- }
- $email = test_input($_POST['email']);
- $firstname = test_input($_POST['firstname']);
- $lastname = test_input($_POST['lastname']);
- $user = test_input($_POST['user']);
- $pass = test_input($_POST['pass']);
- $passnew = md5($pass);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement