$fdf = fdf_open($HTTP_FDF_DATA); for($field = fdf_next_field_name($fdf); $field != ""; $field = fdf_next_field_name($fdf, $field)) { echo "field: $field\n"; } ?>