function getformData() { global $username, $password, $email; if (getrMethod() && check()) { $username = htmlentities($_POST["username"]); $password = md5($_POST["password"]); $email = htmlentities($_POST['email']); return true; } return false; }
function getData($form_name) { if (getrMethod()) { return htmlentities($_POST[$form_name], ENT_QUOTES); } }