<? if($_POST['access']=='1') { echo "<script>window.onload = function() {document.form1.submit();}</script>";exit; } ?>