It's not what you disallow (as you might miss something) it's what you allow, change [0-9...] to whatever you allow
die "some error\n" if $foo =~ /[^0-9a-zA-Z]/;
"Pain is weakness leaving the body, I find myself in pain everyday" -me
In reply to Re: Tainted or bad characters
by kutsu
in thread Tainted or bad characters
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |