if ($_REQUEST['do'] == 'postthread' && /* check for validation not done */) { show validation page (i.e., render a template and call print_output(), or do a redirect) }