Again, sorry :-/sub makeSafe{ my $value = $_[0]; if($value =~ m/[;><\*`\|]/){ $value =~ s/[;><\*`\|]//g; } return $value; }
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re: Security?
by antirice
in thread Security?
by antirice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |