]> git.mxchange.org Git - ctracker.git/commitdiff
A lot spaces removed, array with server_name extended (SELECT query was extended...
authorRoland Haeder <roland@mxchange.org>
Thu, 31 Dec 2009 17:42:57 +0000 (17:42 +0000)
committerRoland Haeder <roland@mxchange.org>
Thu, 31 Dec 2009 17:42:57 +0000 (17:42 +0000)
libs/lib_detector.php

index b03bdc5a1daa8d9f5974b9a2ec8627ed198f4123..add058fe6f8519bc84601e1302716d35c2c17145 100644 (file)
@@ -132,7 +132,8 @@ function crackerTrackerSendMail ($mail) {
        // Construct dummy array
        $rowData = array(
                'remote_addr' => $_SERVER['REMOTE_ADDR'],
-               'check_worm'  => $GLOBALS['checkworm']
+               'check_worm'  => $GLOBALS['checkworm'],
+               'server_name' => $_SERVER['SERVER_NAME']
        );
 
        // Only send email if not yet found
@@ -199,15 +200,15 @@ function crackerTrackerLogAttack () {
 
        // Prepare array for database insert
        $rowData = array(
-               'remote_addr'     => $_SERVER['REMOTE_ADDR'],
-               'user_agent'      => $_SERVER['HTTP_USER_AGENT'],
-               'get_data'        => $_SERVER['QUERY_STRING'],
-               'post_data'       => $GLOBALS['post_track'],
-               'check_worm'      => $GLOBALS['checkworm'],
-               'check_post'      => $GLOBALS['check_post'],
-               'server_name'     => $_SERVER['SERVER_NAME'],
-               'script_name'     => $_SERVER['SCRIPT_NAME'],
-               'referer'         => $_SERVER['HTTP_REFERER']
+               'remote_addr' => $_SERVER['REMOTE_ADDR'],
+               'user_agent'  => $_SERVER['HTTP_USER_AGENT'],
+               'get_data'    => $_SERVER['QUERY_STRING'],
+               'post_data'   => $GLOBALS['post_track'],
+               'check_worm'  => $GLOBALS['checkworm'],
+               'check_post'  => $GLOBALS['check_post'],
+               'server_name' => $_SERVER['SERVER_NAME'],
+               'script_name' => $_SERVER['SCRIPT_NAME'],
+               'referer'     => $_SERVER['HTTP_REFERER']
        );
 
        // Insert the array in database