|
Posted by Zach on 12/20/07 21:57
OK, thank you Micha,
Zach.
Michael Fesser wrote:
> .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]
|