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]
|