<form method="post" action="page2">
<input type="text" name="var" />
<input type="submit" value="send page2" />
</form>
<form method="post" action="">
<input type="text" name="var2" />
<input type="submit" value="send page2" />
</form>