Along with the many good CGI links in the Tutorials section, I recommend picking up a copy of CGI Programming with Perl. I just picked up a copy, and though I'm only through chapter 4, I'd say it was money well spent already :-) Personally, I prefer paper media over electronic for study... For me it's just more comfortable.
As for your question, (as was pointed out above)...
GET is the standard method for retrieving a doc via HTTP. GET requests are intended to only retrieve resources and should not have side effects.
POST is used with HTML forms to submit information that may alter data stored on the server.
The above is highly condensed from chapter 2 of the above book.
LR
Whip me, Beat me, Make me use Y-ModemG.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|