Net_NNTP::getHeaderRaw() -- fetch message header Описание
Returns all avaible header lines of a specified message in the
current selected newsgroup
Возвращаемое значение
string - If message exists the header
as string or a PEAR_Error, if fail.
Заметка
since 0.3
Эта функция не должна вызываться статически. ПримерПример 34-1. Using getHeaderRaw()
<?php
...
$headers = $nntp->getHeaderRaw($msgId);
if( PEAR::isError($headers)) {
// handle error
} else {
// success - split the string into a array
$headersArray = explode( "\n", $headers);
}
?>
|
|
|