Re: Limitaciones de las funciones??
| From: | Angel Fenoy | Date: | Thu, 17 Jan 2002 17:43:40 +0000 |
| Subject: | Re: Limitaciones de las funciones?? | ||
| References: | 1 2 3 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-17932@lists.php.net to get a copy of this message | ||
Dijous 17 Gener 2002 17:54, Tony dixit:
> Gracia por tus aclaraciones, quizás no me explique bien. Conozco el
> funcionamiento de la variables en php, mas que nada, tenia la duda de la
> utilización de http_server_vars dentro de una funcion. Tuve que utilizar
> Global pero me quede con la mosca que tu me aclaras ahora. Thank you :)
Ok, solo te comento, por si aún no viste las nuevas características de php
4.1.x, ahora tienes la nueva variable global $_SERVER, que contiene los
mismos valores que $HTTP_SERVER_VARS, pero la nueva variable no necesitas
declararla como global. Las otras variables nuevas en 4.1.x que no necesitas
declarar como globales son estas:
$_GET - contains form variables sent through GET
$_POST - contains form variables sent through POST
$_COOKIE - contains HTTP cookie variables
$_SERVER - contains server variables (e.g., REMOTE_ADDR)
$_ENV - contains the environment variables
$_REQUEST - a merge of the GET variables, POST variables and Cookie
variables. In other words - all the information that is coming from the user,
and that from a security point of view, cannot be trusted.
$_SESSION - contains HTTP variables registered by the session module
Te lo indico únicamente por si no lo habias visto.
Saludos
Àngel