All pastes #576335 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-19 13:14 UTC
rendered paste body
if ($_POST['register']) {
  if (strstr($username,'\'')) { die('You cannot use \' in ur username, please try again'); }
  if (strstr($password,'\'')) { die('You cannot use \' in ur password, please try again'); }
  if (strstr($username,'\'')) { die('You cannot use \' in ur e-mail, please try again'); }
  $username = addslashes($_POST['username']);
  $password = addslashes($_POST['password']);
  $email = addslases($_POST['email']);