# 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
Subject: $Type from $FullName
Comments: $Comment
$FullName, $Address EOM