Re: Problem with $HTTP_POST_VARS
| From: | Jim Thome | Date: | Thu, 30 May 2002 18:59:46 +0000 |
| Subject: | Re: Problem with $HTTP_POST_VARS | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7168@lists.php.net to get a copy of this message | ||
Try the "register_globals" variable in php.ini and read the PHP 4.2.x press release
regarding external variables.
http://www.php.net/release_4_2_1.php
--Jim
>>> "Salvador Gil" <sgil@fertinal.com.mx> 05/30/02 12:01 PM >>>
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