in reply to Re: Best way to use escapeHTML
in thread Best way to use escapeHTML
use strict; use CGI qw(:standard escapeHTML); my $q = new CGI; my $test = "What's the big''s deal?!!?? - <script>TEST</script>"; my $comments = $q->escapeHTML( $test ) || ''; print header(); print "test: $comments";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Best way to use escapeHTML
by ikegami (Patriarch) on Aug 09, 2011 at 03:19 UTC |