<form name="sohbet" method="GET" action="xx.php"> <input size="22" name="nick"> <input size="22" name="sifre"> <input type=submit value="giris" onclick="javascript:window.open('yy.php?nick=' +sohbet.nick.value+ '&sifre=' +sohbet.sifre.value)"> </form>