howdy
I'm sort of new with using forms and validating input. I heard that you are suppose to use taint mode when dealing with such input from form filled out from the client end.
I need some basic questions answered and maybe some recommendations :)
Should I use CGI.pm to retreive values from forms? Is using CGI.pm always the best way to go? Are there any alternatives that work just as good and safe as CGI.pm?
For taint mode, I'm still looking for some good tutorials and documentation that clearly explains how I can start using it. I know that you have to use the -T switch, but just how do you taint a value? Whats the difference between a tainted and an untainted value?
I just started playing around with perl 3 months ago and at the point where I want to use forms!! I understand the concept in a way but not the measures behind it.
Thanks!!!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.