View file res.php
<? $v1 = $_GET['v1']; echo "<script type='text/javascript'> winpops=window.open('result.php?v1=".$v1."','','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Width=200,Height=200,left=50, top=50'); window.close(); </script>"; ?>