public function path()
    {
        $pos = strpos($_SERVER['REQUEST_URI'], '?');

        if ($pos) {
            $uri = substr($_SERVER['REQUEST_URI'], 0, $pos);
        } else {
            $uri = $_SERVER['REQUEST_URI'];
        }

        return $uri;
    }
public function path()
    {
        $pos = strpos($_SERVER['REQUEST_URI'], '?');

        if ($pos) {
            $uri = substr($_SERVER['REQUEST_URI'], 0, $pos);
        } else {
            $uri = $_SERVER['REQUEST_URI'];
        }

        return $uri;
    }
public function path ( ) { $ pos = strpos ( $ _SERVER [ 'REQUEST_URI' ] , '?' ) ; if ( $ pos ) { $ uri = substr ( $ _SERVER [ 'REQUEST_URI' ] , 0 , $ pos ) ; } else { $ uri = $ _SERVER [ 'REQUEST_URI' ] ; } return $ uri ; }
Get uri send by client.

@return string
Get uri send by client .