Posted by Jonathan N. Little on 10/20/06 19:05
jojo wrote:
> Jonathan N. Little wrote:
<snip>
>> 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?
If the 'parameter' is sent via POST and included via URL simulating a
GET (how I did the test) that values discrete within respective $_POST
and $_GET arrays but in $_REQUEST the POST will trump the GET. That was
all I was illustrating.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|