#!/usr/local/bin/perl -w use CGI; # load CGI routines use Mail::Sendmail; $q = new CGI; @names = $q->param; $name = $q->param('name'); $company = $q->param('company'); $address = $q->param('address'); $city = $q->param('city'); $state = $q->param('state'); $zip = $q->param('zip'); $phone = $q->param('phone'); $fax = $q->param('fax'); $email = $q->param('email'); $comments = $q->param('comments'); $file = $q->param('file'); print $q->header, # create the HTTP header $q->start_html(-title=>'Email Sent', -BACKGROUND=>'http://65.108.100.28/images/bkg3.jpg', -LINK=>'blue', -ALINK=>'maroon'), # start the HTML "
Thank you
",
"Your Email has been sent to stu96art@yahoo.com", # level 1 header
'
Click here go to the home page
",
"
Click here return to the contact page
",
"
The values you sent were
", $q->h2("NAME: $name\n