I was trying to copy the way this other cgi that my company was using, that stoped working for who knows why, this is way it uses file names passed in by the user.
The mail program uses a template for the email it sends, this txt file is specified in the action line like so action="https://www.mydomain.com/cgi-bin/mail.cgi?/myfolder/template.txt" The form data is sent via the post method.
This script works fine, I just dont want to miss anything. What do I need to check to make sure I'm not letting anything slip by? is it the data being used to open files? or all the data being sent?