--- common.inc	2007-02-06 01:26:21.000000000 -0600
+++ common.inc.get	2007-02-06 01:25:20.000000000 -0600
@@ -229,6 +229,32 @@
 }
 
 /**
+ * Retrieve and track use of $_GET variables.
+ *
+ * @param $variable
+ *   The member of the array $_GET to retrieve
+ */
+function drupal_http_get_member($variable = NULL) {
+  static $usage = array();
+  if (isset($variable)) {
+  	if (isset($usage[$variable])) {
+  		$usage[$variable]++;
+  	} else {
+  		$usage[$variable] = 1;
+  	}
+  	return $_GET[$variable];
+  }
+  return $usage;
+}
+
+/**
+ * Retrieve usage stats of $_GET variables.
+ */
+function drupal_http_get_usage() {
+  return drupal_http_get_member();
+}
+
+/**
  * Prepare a destination query string for use in combination with
  * drupal_goto(). Used to direct the user back to the referring page
  * after completing a form. By default the current URL is returned.
