echo "<meta http-equiv=\"refresh\" content='0 url=http://localhost/pagina2.php?id=".$_POST['var1']."' />";