mozdev.org

ConQuery

resources:
query plugins:
talkback:
related projects:

ConQuery vars test


" . urldecode($HTTP_REFERER) . "Values submitted via POST method:

"; 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 "


"; print "Values submitted via GET method:

"; 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 "


"; print "

HTTP Headers:

"; $headers = getallheaders(); while (list($header, $value) = each($headers)) print "$header: $value
\n"; print "


"; ?>

For questions or comments about conquery, please send a message to the conquery mailing list.
For questions or comments not about a specific project, please read our feedback page.
This page was last updated on Jun 23, 2017.
Copyright © 2017. All rights reserved.