| 
 Posted by jojo on 10/20/06 17:23 
Jonathan N. Little wrote: 
 
[snip] 
>>>> To expand on what Chris says, GET variables are in the _GET array 
>>>> whereas POST variables are in the _POST array.   
>>> 
>>> The $_REQUEST-Array contains both, the POST and the GET variables.  
>>> I'm not surte what happens if the same variable is send by post and  
>>> by get but I would guess that the POST-value overrides the other. 
>> 
>> Well does this answer it? 
>> 
>> GET VAR 
>> Array 
>> ( 
>>     [parameter] => ValueByGet 
>> ) 
>> 
>> POST VAR 
>> Array 
>> ( 
>>     [parameter] => ValueByPost 
>> ) 
>> 
>> 
> Also not what happens when you access via the $_REQUEST array... 
>  
> $_GET VAR 
> Array 
> ( 
>     [parameter] => ValueByGet 
> ) 
>  
> $_POST VAR 
> Array 
> ( 
>     [parameter] => ValueByPost 
> ) 
>  
> $_REQUEST VAR 
> Array 
> ( 
>     [parameter] => ValueByPost 
>  
>  
This is just what I've said: If a variable is posted twice the  
POST-value overrides the GET one. So where is the problem?
 
  
Navigation:
[Reply to this message] 
 |