OK, now I have the right version of FormMail.pl.
It seems pretty clear to me that the x and y values that are showing up on the web page and in the emails are the names of the input fields on the form that is calling FormMail.pl. If you want the fields to show up on the web page with more descriptive names, then give the calling form's input elements more descriptive names. If you don't want that stuff to show up on the web page at all, I would recommend redirecting to a different page. If you set the redirect field to a different URL, then FormMail will redirect to there; otherwise, it prints out the web page you are seeing:
Code:
if ($Config{'redirect'}) {
print "Location: $safeConfig{'redirect'}\n\n";
}
# Otherwise, begin printing the response page. #
else {
# Print HTTP header and opening HTML tags. #
print "Content-type: text/html\n\n";
print "<html>\n <head>\n";
# Print out title of page #
if ($Config{'title'}) { print "<title>$safeConfig{'title'}</title>\n" }
else { print "<title>Thank You</title>\n" }
This code is an excerpt from FormMail.pl, Copyright 1995-2002 Matt Wright
To redirect to your own pre-made web page, add the following to the calling form:
Code:
<input type=hidden name="redirect" value="http://your.host.com/to/file.html">
The above was taken from the README that is distributed with the form. If you haven't read that, you ought to.
As far as not including the fields in the email: Again, changing the input elements' names in the calling form will change that from "x" and "y" to whatever you want to see. If you don't want the values at all, even with different names, then I guess I am missing something, because it seems to me that this what the entire purpose of FormMail is.
Hope that helps.