Can anyone suggest why is might be going wrong.
Some things are seem strange to me:if (($box !~ /\w+/) && ($value !~ /\w+/)) { print "You haven't entered anything on the form"; print STDOUT $cgi->end_html; exit (0); }
For instance, when someone enters a "#" character, your code will complain.
Probably you'll want to change either the message, or the regex, depending on what kind of values are allowed.
-- Joost downtime n. The period during which a system is error-free and immune from user input.
In reply to Re: CGI + safeguards
by Joost
in thread CGI + safeguards
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |