Advertisement
enochmh2

password encryption

Dec 19th, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. $_POST['pass'] = md5($_POST['pass']);
  2. if (!get_magic_quotes_gpc()) {
  3. $_POST['pass'] = addslashes($_POST['pass']);
  4. $_POST['username'] = addslashes($_POST['username']);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement