PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
$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
boolean - Gibt bei Erfolg TRUE zurück, bei einem Fehler ein Objekt der Klasse PEAR_Error.
Tabelle 49-1. Mögliche Fehler-Arten
Error code | Error message | Reason | Solution |
---|---|---|---|
NULL | "Could not connect to NNTP-server $nntpserver" or "Not connected" |
The connection couldn't be established because
| Check for server name, the connection to the net and possible firewalls on client or server side |
Beispiel 49-1. Using connectauthenticated()
|
Zurück | Zum Anfang | Nach vorne |
Net_NNTP::connect() | Nach oben | Net_NNTP::date() |