Posted by Jonathan N. Little on 10/20/06 16:48
Jonathan N. Little wrote:
> jojo wrote:
>> Steven Saunderson wrote:
>>
>> > [snip]
>>>
>>>> Does the script that is targeted (0scripts/invite.php) support the
>>>> POST method?
>>>
>>> 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
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|