Net_NNTP_Client::authenticate()

Net_NNTP_Client :: () – Authenticate

Synopsis

require_once 'Net/NNTP/Client.php';

public boolean Net_NNTP_Client::authenticate ( string $$user , string $$pass [, integer $$authmode = NET_NNTP_AUTHORIGINAL ] )

Описание

Authenticate on an already open connection

Parameter

  • $user - Username to authenticate with

  • $pass - Password to authenticate with

  • $authmode - Type of authentication. Default=NET_NNTP_AUTHORIGINAL

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ