Net_NNTP::prepareConnection()

Net_NNTP::prepareConnection()

Net_NNTP::prepareConnection() -- connects to a newsgroup on a newsserver

Description

Connect to a specific newsserver and access the given newsgroup

Warning

This function is deprecated. That means that future versions of this package may not support it anymore.

Consider this method deprecated - use Net_NNTP::connectAuthenticated() instead.

Parameter

  • $nntpserver - Name of the newsserver to connect

  • $port - Port, where the newsserver listens

  • $newsgroup - Newsgroup to access

  • $user - Username to authenticate

  • $user - Username to authenticate

  • $pass - Password to authenticate

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

Return value

boolean - TRUE if successful

Note

This function can not be called statically.

Warning

This function is deprecated. That means that future versions of this package may not support it anymore.

Fetching data with a connection created with prepareConnection() is faster then a created connection with connect()

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