formmail update

by "Roger Harness" <magic32(at)>

 Date:  Fri, 7 Dec 2001 00:20:45 -0800
 To:  <hwg-techniques(at)>
  todo: View Thread, Original
First of all, quick, but sincere 'thank you' to all the folks who helped me
out on my formmail question regarding "required" email field. Awesome group
of folks out there.

Anyways...another question...

Can anybody point me in the right direction as far as being able to use
matt's, and either:
1. Redirect to my 'thank you' page, while passing some variables to that new
page? ($first_name, $last_name, etc)? ("Thank you *Bob Smith*, for filling
out our little questionaire").
2. hacking matt's to NOT redirect, but instead dynamically print
out my 'thank you' page with my needed variables?

I tried:

print "Content-type: text/html\n\n";
print "<html>\n <head>\n";
print "<title>thank you!</title>\n";
print "</head>\n <body>\n";
print "<p>thanks $first_name</p>\n";
print "</body>\n";
print "</html>\n";

but no luck. though i could easily be putting it in the wrong place. I was
just trying to put it in the area that usually prints out a page saying what
info was submitted to who (assuming a redirect wasnt used). But again, no

And btw, this isnt life or death. Just one of those things i should be able
to figure out, but i cant. (i do know SOME perl/cgi, but not a *whole* lot).

Tia to anybody who has some extra time,

-roger harness

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA