You are here: Re: [PHP] $_REQUEST « PHP « IT news, forums, messages
Re: [PHP] $_REQUEST

Posted by Thomas Munz on 10/19/59 11:05

Be carfull with this super var. This var is a merge of the GET, POST and
FILES, and so only 1 index can only exists. If you have an index in the POST
field called 'test' and also and index calles test in the FILES or GET var,
than only one index of them is avaible and the other are gone....

I recommend to use the GET, POST and FILES var instead of the REQUEST var..

Am Montag, 10. Januar 2005 13:33 schrieb Benjamin Edwards:
> Trying to get my head around relationship between/use of $_GET, $_POST and
> $_REQUEST.
>
> It seems to me that $_REQUEST is most useful as if it is used in place of
> $_POST/$_GET it would be possible to change posting method without changing
> the code.
>
> I am kind of assuming that $_REQUEST is and aggregate of $_POST, $_GET and
> $_FILES. Is this correct or are there differences.
>
> Ben

 

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

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