Ejemplo n.º 1
0
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;
}
Ejemplo n.º 2
0
function getData($form_name)
{
    if (getrMethod()) {
        return htmlentities($_POST[$form_name], ENT_QUOTES);
    }
}