Re: Saber que variables recivo
| From: | Andres Ferrando | Date: | Wed, 30 Oct 2002 15:38:00 +0000 |
| Subject: | Re: Saber que variables recivo | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-28631@lists.php.net to get a copy of this message | ||
si usás una versión nueva, recorré el array $_REQUEST
> Se puede configurar php para que estas variables se macheen en varios arrays
> (Por ejemplo, $HTTP_POST_VARS), y lo que se puede hacer es aplicarle esta
> función:
>
> function print_array($array) {
> if(gettype($array)=="array") {
> echo "<ul>";
> while (list($index, $subarray) = each($array) ) {
> echo "<li>$index <code>=></code> ";
> print_array($subarray);
> echo "</li>";
> }
> echo "</ul>";
> } else echo $array;
> }
--
Andres Ferrando <anferr@mecon.gov.ar>