Re: GET and POST
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: GET and POST

From: Shelly <sheldonlg.news@asap-consult.com>
Date: Sat Jul 30 2005 - 04:05:27 CEST

----- Original Message -----
From: "Andy Hassall" <andy@andyh.co.uk>
Newsgroups: comp.lang.php
Sent: Friday, July 29, 2005 6:32 PM
Subject: Re: GET and POST

> On Fri, 29 Jul 2005 21:43:29 GMT, "Shelly"
> <sheldonlg.news@asap-consult.com>
> wrote:
>
>>I have a question that is going to make me look stupid, but as I am new to
>>html and php (2 months), I'll as it anyway.
>>
>>I have been using POST as the action and to get values that were input. I
>>understand that GET could also be used as the action (not just to get
>>stuff
>>after the "?" which I understand).
>>
>>a. When should GET be used and when should POST be used?
>>b. What is the difference between the two?
>
> Over to the standard which has a brief explanation:
>
> http://www.w3.org/TR/html401/interact/forms.html#h-17.13.1

Thank you. I read this. I was looking for a complete description.

One thisg, though. I still cannot discern when it is best that I should use
method GET and when it is best that I should choose method POST. So far, I
have always used POST (because that is the first that I saw in an example).

Shelly
Received on Tue Oct 18 02:06:12 2005