Make sure track_vars is in your php3.ini file. If you add "--enable-track-vars" when compiling PHP, it will definitely be there. You have to choose one of two ways: add it at compile time, or add the string on the first line of each script. When track_vars is turned on, three arrays are created: $HTTP_GET_VARS, $HTTP_POST_VARS and $HTTP_COOKIE_VARS. Therefore, to create a general POST method script, you can use the following program:
while (list($var, $value) = each($HTTP_POST_VARS))
{ echo "$var = $value
n "; }