//http://www.developertutorials.com/tutorials/php/html-forms-php-1407/
echo "test
";
$form_fields = array_keys($HTTP_POST_VARS);
for ($i = 0; $i < sizeof($form_fields); $i++)
{
$thisField = $form_fields[$i];
$thisValue = $HTTP_POST_VARS[$thisField];
echo $thisField ." = ". $thisValue;
echo "
";
}
?>