public static function getCurrentFullHostString() {

        $hostString = $_SERVER["HTTPS"] ? "https" : "http";
        $hostString .= "://";
        $hostString .= $_SERVER["HTTP_HOST"];
        $hostString .= $_SERVER["SERVER_PORT"] != 80 ? ":" . $_SERVER["SERVER_PORT"] : "";

        return $hostString;


    }