Re: Foreach POST VARS problem

From: Date: Fri, 15 Aug 2003 21:12:40 +0000
Subject: Re: Foreach POST VARS problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159760@lists.php.net to get a copy of this message
* Thus wrote Kris Yates (kris@2binteractive.com): > > foreach($HTTP_POST_VARS as $ThisVar=>$ThisVal){ > > ... > > *Warning*: Invalid argument supplied for foreach() in > */devda1/htdocs/2binteractive.com/htdocs/0new/content/lanskyShopAdmin.php* > on line 2 > > I guess I just need to know what this variable name has been changed > to. I searched the PHP.NET manual for $HTTP_POST_VARS and got no results. > $_POST; Also it is now a superglobal in php 4.3 and doesn't need to be global'ed inside of functions. Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#159760) next »