go ahead... be a heretic | |
PerlMonks |
Length validationby dwiz (Pilgrim) |
on Jun 07, 2001 at 18:39 UTC ( [id://86565]=perlquestion: print w/replies, xml ) | Need Help?? |
dwiz has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks, I have couple of questions about form validation. Specifically about the length of a field and amount of data that can be submitted to my form. Don't worry I know about length. My main questions are: How do you handle it? Obviously you don't want people submitting a couple of megs of data to your form. I read up on how CGI.pm can handle DOS attacks of this sort and set the $CGI::POST_MAX variable accordingly. Well that solved my maximum amount of data problem. (I hope) My second question is. How do you handle the length of your fields? I have currently been doing something like this. Have I covered all my bases on this issue? Is there a better way to do it? Thanks dwiz
Back to
Seekers of Perl Wisdom
|
|