use strict; use CGI qw(:standard escapeHTML); my $q = new CGI; my $comments = $q->escapeHTML( $q->param('comments') ) || ''; print header(); print "test: $comments";
In reply to Re^2: Best way to use escapeHTML
by Anonymous Monk
in thread Best way to use escapeHTML
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |