First page Back Continue Last page Image
- close (MAIL);
- # Print Follow up HTML
- print ("Content-Type: text/html\n\n");
- print ("<html><head><title>Thank You</title></head>\n");
- print ("<!DOCTYPE html<body><h1>Thank You For Filling in the Requested Information</h1>\n");
- print ("The information has been sent and here is what you submitted:<hr>\n");
- foreach $namevalue (@namevalues) {
- ($name, $value) = split(/=/, $namevalue);
- $name =~ tr/+/ /;
- $value =~ tr/+/ /;
- $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
- $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
- $INPUT{$name} = $value;
- unless ($value eq "") {
- print ("$name: $value<br>\n");
- }
- }