<?php
    require_once "../config.php";
    if(!array_key_exists(irenHmac::$authParam, $_REQUEST)){
        irenHmac::noAuth();
        exit;
    }
    $hmac = $_REQUEST[irenHmac::$authParam];
    $res = irenHmac::verifyHMac($hmac,$_SERVER["SCRIPT_NAME"],$_GET);
    if ($res===False) {
        irenHmac::noValid();
        exit;
    }
?>
<html>
<body>
    <h1>Benvenuto nella pagina iniziale  di test IREN  HMac <br/>Test Eseguito con le Librerie PHP</h1>
</body>
</html>

