RTFM HTTP_POST_VARS is an array, so you can iterate with forach: foreeach($HTTP_POST_VARS as $variableName => $variableValue){ echo "<P>In Variable $variableName you submitted: ".htmlentities($variableValue)."</P>\n"; }
For further information go on http://www.php.net, there is a _very_ good documentation. (For this topic look at "array functions") Stefan Rusterholz, [EMAIL PROTECTED] ---------------------------------- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich ---------------------------------- T. +41 1 253 19 55 F. +41 1 253 19 56 W3 www.interaktion.ch ---------------------------------- ----- Original Message ----- From: "Vladimir Galkov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 1:36 PM Subject: [PHP] get names of vars $HTTP_POST_VARS? > 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 > count($HTTP_POST_VARS) ) ... > > This is nesesery to write a function wich write log of user's work with > remote filesystem. > Vladimir Galkov > [EMAIL PROTECTED] > ICQ 84873967 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]