You are here: Re: Form: GET works but POST doesnt!? « HTML « IT news, forums, messages
Re: Form: GET works but POST doesnt!?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация