Re: get names of vars $HTTP_POST_VARS?

From: Date: Fri, 09 Nov 2001 12:21:53 +0000
Subject: Re: get names of vars $HTTP_POST_VARS?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74015@lists.php.net to get a copy of this message
a great way to debug things like this is to use var_dump or print_r... http://www.php.net/manual/en/function.var-dump.php http://www.php.net/manual/en/function.print-r.php <pre> <?php var_dump($HTTP_POST_VARS); ?> </pre> short and simple :) with kind regards, Joffrey van Wageningen On Fri, 9 Nov 2001, Hidayet Dogan wrote: > Or other way: > > while (list($key, $val) = each($HTTP_POST_VARS)) > echo "$key = $val<br>\n"; > > On Fri, 9 Nov 2001, Vladimir Galkov wrote: > > > Good day! > > Is there any way to get names of vars and values from $HTTP_POST_VARS if I > > don't know their names and (ofcourse) values? (number can be taken from

« previous php.general (#74015) next »