Forum Moderators: open
<?php
header("content-type:text/html");
// "i-agree" is a checkbox, if it's not been checked,
// it will not exist in post
if (isset($_POST['i-agree'])) {
// display submit form here, store "i-agree" as a hidden
}
else {
// display TOS here, which posts back to this very script
}
?>