Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: validation of posted data.by fs (Monk) |
on Jul 31, 2002 at 21:39 UTC ( [id://186612]=note: print w/replies, xml ) | Need Help?? |
I'd suggest that you verify that it only contains valid characters. So if your usernames can contain alpha and '.' only, you could use something like (untested):
Modify the regex to add additional conditions to suit your exact needs.
In Section
Seekers of Perl Wisdom
|
|