|
Posted by Tony Marston on 01/28/07 18:29
"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:wfKdnTa_dtSiNSHYnZ2dnUVZ_vXinZ2d@comcast.com...
> Tony Marston wrote:
>> "Paul Lautman" <paul.lautman@btinternet.com> wrote in message
>> news:51v4v1F1k55ftU1@mid.individual.net...
>>> Tony Marston wrote:
>>>
>>>> You will always use $_POST when sending
>>>> data from the client to the server,
>>> Except when you use $_GET or $_REQUEST
>>
>> Wrong. $_GET is used to request data FROM the server, while $_POST is
>> used to send data TO the server.
>>
>
> No, Tony. $_GET is used to fetch information from the query string. This
> can be from several sources - including <form action=get...>. But $_GET
> is always used on the server, and the data always comes from the browser.
I disagree. The GET method is used to fetch data from the server and send it
to the client. The POST method is use to send data from the client to the
server. The GET method is bookmark-able, whereas the POST method is not.
This is the correct way as it is not good practice to bookmark a URL which
updates the server.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
Navigation:
[Reply to this message]
|