You are here: Re: $_POST=array(); « PHP Language « IT news, forums, messages
Re: $_POST=array();

Posted by Michael Fesser on 12/19/07 16:41

..oO(Michael Fesser)

>.oO(Zach)
>
>>In the text I am reading it says that $_POST = array(); will see to it
>>that a form does not retain any values. That is understood. My question
>>is what does this code normally do / in which context is this code
>>normally used? I realize that this is an elementary question. Sorry
>>about that.
>
>I wouldn't use it at all. $_POST, $_GET etc. are predefined variables,
>IMHO they should be considered read-only.

Drop the 'etc.' ... of course $_SESSION and $_COOKIE are meant to be
overwritten. But $_GET and $_POST shouldn't be touched.

Micha

 

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

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