Net_NNTP::command()

Net_NNTP::command() -- send a command to a newsserver

Synopsis

require_once 'Net/NNTP.php';

string Net_NNTP::command (string $cmd, boolean $auth)

Beschreibung

Command() sends a string command to a newsserver. So you can send customized and/ or non-standard commands to the newsserver.

Parameter

Rückgabewert

string - the unprocessed server response

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Warnung

Command() does no checks on the given command and/ or proccesses the server response. So you should know what are you doing.

Beispiel