Processing the Form
<?php
if (md5($secret_word.$_POST['id']) == $_POST['hash']) {
    
$id $_POST['id'];
} else {
    die(
'Invalid ID');
}
?>