Net_NNTP::connectAuthenticated()

Net_NNTP::connectAuthenticated()

Net_NNTP::connectAuthenticated() -- Connects and authenticates to a newsserver

Description

Connect and authenticate to a specific newsserver

Parameter

  • $user - Username to authenticate

  • $pass - Password to authenticate

  • $host - Hostname of the NNTP-server

  • $port - Port, where the newsserver listens

  • $authmode - Type of authentication, at the moment only NET_NNTP_AUTHORIGINAL

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Note

since 0.3

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.