SOLVED Problem with $HTTP_POST_VARS
| From: | Salvador Gil | Date: | Fri, 31 May 2002 15:36:17 +0000 |
| Subject: | SOLVED Problem with $HTTP_POST_VARS | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7182@lists.php.net to get a copy of this message | ||
Aditionally to your suggestions, I had to use an:
if (isset($_POST["step"])
$a = $_POST["step"];
else
$a='';
Because the first time when this execute, I got a warning message like:
Warning: Undefined variable: step in
d:\Inetpub\wwwroot\CATALOG\INSTALL\install.php on line 19
Thank you very much, Gays.
-----Mensaje original-----
De: Yunier Saborit Ramírez [mailto:yunier.saborit@uho.edu.cu]
Enviado el: Friday, May 31, 2002 8:57 AM
Para: Salvador Gil
Asunto: Re: [PHP-INST] Problem with $HTTP_POST_VARS
$a = $_POST["variable"]
----- Original Message -----
From: "Salvador Gil" <sgil@fertinal.com.mx>
To: <php-install@lists.php.net>
Sent: Thursday, May 30, 2002 2:10 PM
Subject: [PHP-INST] Problem with $HTTP_POST_VARS
> I'm trying to use $HTTP_POST_VARS but it have not value.
> I found a configuration line in php.ini
> track_vars = On
>
> but it didn't function.
>
> The code:
>
> echo "Valores enviados con el método POST: $step<br>";
> reset ($HTTP_POST_VARS);
> while (list ($clave, $val) = each ($HTTP_POST_VARS))
> { echo "$clave => $val<br>"; };
>
> Show somting like that:
>
> Valores enviados con el método POST:
>
> Any idea?
>
> Thanks.
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>