function set_login( $uname = '', $passwd = '' )
    {
        if ( strlen($uname) > 0 )
        {
            $this->remote_uname = $uname;
        }

        if ( strlen($passwd) > 0 )
        {
            $this->remote_passwd = $passwd;
        }

    }
function set_login( $uname = '', $passwd = '' )
    {
        if ( strlen($uname) > 0 )
        {
            $this->remote_uname = $uname;
        }

        if ( strlen($passwd) > 0 )
        {
            $this->remote_passwd = $passwd;
        }

    }
function set_login ( $ uname = '' , $ passwd = '' ) { if ( strlen ( $ uname ) > 0 ) { $ this -> remote_uname = $ uname ; } if ( strlen ( $ passwd ) > 0 ) { $ this -> remote_passwd = $ passwd ; } }
Specify a username and password.

@param string|null username. defualt is null
@param string|null password. defualt is null
Specify a username and password .