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

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]


Удаленная работа для программистов  •  Как заработать на 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

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