"; $headers = getallheaders(); while (list($header, $value) = each($headers)) print "$header: $value\n"; print "
"; if ($HTTP_POST_VARS) { for(reset($HTTP_POST_VARS); $key = key($HTTP_POST_VARS); next ($HTTP_POST_VARS)) { if (is_array($HTTP_POST_VARS[$key])) { $num=count($HTTP_POST_VARS[$key]); for ($i=0; $i<$num; $i++) print "$$key"."[$i] = ".$HTTP_POST_VARS[$key][$i]." \n"; } else { print "$$key = ".$HTTP_POST_VARS[$key]."\n"; } } } print "
"; if ($HTTP_GET_VARS) { for(reset($HTTP_GET_VARS); $key = key($HTTP_GET_VARS); next($HTTP_GET_VARS)) { if (is_array($HTTP_GET_VARS[$key])) { $num=count($HTTP_GET_VARS[$key]); for ($i=0; $i<$num; $i++) print "$$key"."[$i] = ".$HTTP_GET_VARS[$key][$i]." \n"; } else { print "$$key = ".$HTTP_GET_VARS[$key]."\n"; } } } print "