#!/usr/local/bin/haserl

Sample Form

<% # Do some basic validation of FORM_textfield # To prevent common web attacks FORM_textfield=$( echo "$FORM_textfield" | sed "s/[^A-Za-z0-9 ]//g" ) %> " cols=20>
<%# Self Referencing CGI with a form Prints a form. If the client enters text in the form, the CGI is reloaded (defined by $SCRIPT_NAME) and the textfield is sani- tized to prevent web attacks, then the form is redisplayed with the text the user entered. The text is uppercased. %>