Sure, just iterate the contents of $HTTP_POST_VARS:
@reset ($HTTP_POST_VARS);
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($val != '')
echo "$key=$val<br>\n";
}
Note this is "old" code and works fine on version 3.x too.