# feedback # Run under the Korn shell #!/bin/ksh # Specify the path to cgiparse export CGIPATH=/usr/local/etc/httpd/cgi-bin # Convert form data to variables eval `$CGIPATH/cgiparse -form -prefix ""` # Mail the following info. to feedback mail feedback << EOM Subject: $Type from $FullName Comments: $Comment --------------------- $FullName, $Address EOM # Send the following output back to the browser cat << EOM Content-type: text/html Automated Feedback Response

Thank you for your feedback.

The following text was received.


Subject: $Type from $FullName

Comments: $Comment

$FullName, $Address
EOM