Main > Programming > Libraries >

HTML::CGIChecker 0.90

HTML::CGIChecker 0.90

Sponsored Links

HTML::CGIChecker 0.90 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.014 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 814
Date added: 2007-08-07
Publisher: Tomas Styblo

HTML::CGIChecker 0.90 description

HTML::CGIChecker is a Perl module to detect dangerous HTML code.

SYNOPSIS

use HTML::CGIChecker;

$feedback =
< TABLE CELLPADDING="2" >< TR >< TD >One column< /TD >< /TR >< /TABLE >< BR >
" Arrays & variables "

Dough > Hi, how are you ?

And now some Perl code:
< PRE >
print "< HTML >< BODY >< /BODY >< /HTML >";
< /PRE >
;

# create the $checker object

$checker = new HTML::CGIChecker (
mode => allow,
allowclasses => [ qw( tables images ) ],
allowtags => [ qw ( B I A U STRONG BR HR ) ],
jscript => 0,
html => 0,
pre => 1,
debug => 0,
err_tag => Tag {tag} is not allowed in {element}.
);

# Now you can use it to check any string using its checkHTML()
# method. It "remembers" its configuration, so you can reuse it.

($checked_feedback, $Warnings) =
$checker->checkHTML ($feedback);

# Process the results ...

if ($checked_feedback) {
# save $checked_feedback to the database ....
}
else {
# print the warnings ...
print join ("n", @{$Warnings});
}

The example above produces no warning messages and returns $feedback checked and properly HTML escaped. The only HTML "error" - the unescaped ">" bracket on the fourth line - is autocorrected. One warning message was overriden by a customized version. Potential warnings would not be HTML formatted and HTML safe, because the html parameter is not true.

HTML::CGIChecker 0.90 Screenshot

Advertisements

HTML::CGIChecker 0.90 Keywords

Bookmark HTML::CGIChecker 0.90

Hyperlink code:
Link for forum:

HTML::CGIChecker 0.90 Copyright

WareSeeker periodically updates pricing and software information of HTML::CGIChecker 0.90 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of HTML::CGIChecker 0.90 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
HOP::Lexer is a Perl module for "Higher Order Perl" Lexer. Free Download
HTML::QuickTable is a Perl module to quickly create fairly complex HTML tables. Free Download
HTML::Declare is a Perl module for When Template Systems Are Too Huge And Heredocs Too Messy. Free Download
HTML::Adsense is a Perl module that can create adsense widgets easily. Free Download
HTML Objects is a Perl module library for turning HTML tags into Perl objects. Free Download
HTML::Embperl is a Perl module for building dynamic Websites with Perl. Free Download
Code::Perl is a Perl module to produce Perl code from a tree. Free Download
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte. Free Download