if (!empty($HTTP_GET_VARS)) while(list($name, $value) = each($HTTP_GET_VARS)) $$name = $value; if (!empty($HTTP_POST_VARS)) while(list($name, $value) = each($HTTP_POST_VARS)) $$name = $value; $ref = str_replace(":", "", $ref); // this should be an array of permitted include files -- just the basename, please $includes = array("index", "services", "rates", "guestbook", "contact", "terms"); ?>