private static function collect()
    {
        $message = '';

        $message .= sprintf("\r\nURL: %s\r\n", $_SERVER['REQUEST_URI']);

        if (!empty($_POST)) {
            $message .= "\r\n";
            foreach ($_POST as $key => $value) {
                if (in_array($key, [
                    'password',
                    'password2'
                ])) {
                    continue;
                }
                $message .= 'post #' . $key . ': ' . (is_array($value) ? serialize($value) : $value) . "\r\n";
            }
        }

        if (!empty($_GET)) {
            $message .= "\r\n";
            foreach ($_GET as $key => $value) {
                if (in_array($key, [
                    'password',
                    'password2'
                ])) {
                    continue;
                }
                $message .= 'get #' . $key . ': ' . $value . "\r\n";
            }
        }

        if (!empty($_COOKIE)) {
            $message .= "\r\n";
            foreach ($_COOKIE as $key => $value) {
                $message .= 'cookie #' . $key . ': ' . $value . "\r\n";
            }
        }

        if (!empty($_SERVER)) {
            $message .= "\r\n";
            foreach ($_SERVER as $key => $value) {
                if (is_array($value)) {
                    continue;
                }
                $message .= 'server #' . $key . ': ' . $value . "\r\n";
            }
        }

        if (!empty($_SESSION)) {
            $message .= "\r\n";
            foreach ($_SESSION as $key => $value) {
                $message .= 'session #' . $key . ': ' . (is_array($value) ?
                        serialize($value) : print_r($value,1)) . "\r\n";
            }
        }

        return $message;
    }