Use one form, then use arrays to split out the different "forms". For example:
<form method=post action=myscript.php>
<INPUT TYPE=TEXT NAME=auth[login]>
<INPUT TYPE=PASSWORD NAME=auth[password]>
<INPUT TYPE=SUBMIT NAME=action[auth] VALUE="Login">
<!-- lots of stuff in the middle -->
<INPUT TYPE=TEXT NAME=search[city]>
<INPUT TYPE=TEXT NAME=search[state]>
<INPUT TYPE=SUBMIT NAME=action[search] VALUE="Search">
</FORM>
Now, to process this form:
<?
// which submit button did they click on?
$action=array_keys($action);
$action=$action[0];
if ($action=='auth')