Oh Great Monkish Ones, Whose Wisdom is Likened to That of a Very Wise One,
I'm sure that this has to be one of the most common questions among those new to perl. Perhaps someone could write it up into a step-by-step howto? (I'll do it myself if I figure out how... right now, a google search turned up much info, but nothing exactly like what I needed)
What I'm looking to do seems relatively simple: I want to have a page on the internet with a form. When this form is filled out and the submit button is pressed, the information will be appended to a file on the server. Server is not owned by me, but I have full access to one directory on it.
My questions:
- What's the quick-and-dirty way to get this done, with Perl?
- What web server must be running? Is this OS-specific? Any quirks?
- What security risk does this pose, and how can that be avoided? Assume a win9x or NT system. Or assume a linux system. But please tell me which you mean :-)
- What's a good way of organizing the database for both human readability and data munging?
I thank you for sharing your wisdom.
- Anonymous Cowar- er... Monk.
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.