/* HTTP_USER_AGENT - Browser, computer, OS HTTP_REFERER - site user came from REMOTE_ADDR - IP of user HTTP_ACCEPT_LANGUAGE - language QUERY_STRING - any data passed in through a request date/time */ //phpinfo(); include_once "dbMethods.php"; $query = "INSERT INTO metrics (source, referer, userAgent, ipAddress, language, queryString) VALUES ('sierraclub', " . quoteText($_SERVER['HTTP_REFERER']) . ", " . quoteText($_SERVER['HTTP_USER_AGENT']) . ", " . quoteText($_SERVER['REMOTE_ADDR']) . ", " . quoteText($_SERVER['HTTP_ACCEPT_LANGUAGE']) . ", " . quoteText($_SERVER['QUERY_STRING']) . ")"; //echo $query; modifyDB($query, true); ?>