You are here: Re: why use $_POST when you have $_SESSION? « PHP Programming Language « IT news, forums, messages
Re: why use $_POST when you have $_SESSION?

Posted by Jerry Stuckle on 01/28/07 13:41

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.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация