public static function fullUrl()
    {
        $s        = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
        $protocol = StringUtils::strLeft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s;
        $port     = ($_SERVER["SERVER_PORT"] == "80" || $_SERVER["SERVER_PORT"] == "443") ? "" : (":".$_SERVER["SERVER_PORT"]);
        $uri      = (isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:"");
        return $protocol."://".$_SERVER['SERVER_NAME'].$port.$uri;
    }
public static function fullUrl()
    {
        $s        = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
        $protocol = StringUtils::strLeft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s;
        $port     = ($_SERVER["SERVER_PORT"] == "80" || $_SERVER["SERVER_PORT"] == "443") ? "" : (":".$_SERVER["SERVER_PORT"]);
        $uri      = (isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:"");
        return $protocol."://".$_SERVER['SERVER_NAME'].$port.$uri;
    }
public static function fullUrl ( ) { $ s = empty ( $ _SERVER [ "HTTPS" ] ) ? '' : ( $ _SERVER [ "HTTPS" ] == "on" ) ? "s" : "" ; $ protocol = StringUtils :: strLeft ( strtolower ( $ _SERVER [ "SERVER_PROTOCOL" ] ) , "/" ) . $ s ; $ port = ( $ _SERVER [ "SERVER_PORT" ] == "80" || $ _SERVER [ "SERVER_PORT" ] == "443" ) ? "" : ( ":" . $ _SERVER [ "SERVER_PORT" ] ) ; $ uri = ( isset ( $ _SERVER [ 'REQUEST_URI' ] ) ? $ _SERVER [ 'REQUEST_URI' ] : "" ) ; return $ protocol . "://" . $ _SERVER [ 'SERVER_NAME' ] . $ port . $ uri ; }
Returns the current, full url

@return string the current url
Returns the current full url