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: Andy Hassall <andy@andyh.co.uk>
Date: Sat Jul 30 2005 - 00:32:55 CEST

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

-- 
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Received on Tue Oct 18 02:06:07 2005