Predefined Variables
PHP Manual

$_REQUEST

(PHP 4 >= 4.1.0, PHP 5)

$_REQUESTHTTP Request variables

Descrizione

An associative array that by default contains the contents of $_GET, $_POST e $_COOKIE.

Log delle modifiche

Versione Descrizione
5.3.0 Introduced request_order. This directive affects the contents of $_REQUEST.
4.3.0 $_FILES information was removed from $_REQUEST.
4.1.0 Introduced $_REQUEST.

Note

Nota:

Questa è una variabile 'superglobale', o automaticamente global. Ciò semplicemente significa che è visibile in tutti gli ambiti in uno script. Non è necessario dichiararla come global $variable; per accedervi da funzioni o metodi.

Nota:

When running on the command line , this will not include the argv and argc entries; these are present in the $_SERVER array.

Nota:

The variables in $_REQUEST are provided to the script via the GET, POST, and COOKIE input mechanisms and therefore could be modified by the remote user and cannot be trusted. The presence and order of variables listed in this array is defined according to the PHP variables_order configuration directive.

Vedere anche:


Predefined Variables
PHP Manual