You're missing a closing ) on the final print() statement...

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Shi <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 02, 2001 11:01 AM
Subject: imap?


> I'm using imap_header to get all the headers in a newsgroup on a
NNTP-server
> like this
>
> if($nntp=imap_open("{sunsite.auc.dk/nntp:119}dk.admin","","";))
>         {
>                 for($i=1;$i<5;$i++)
>                 {
>                         $header = imap_header($nntp, $i);
>                         echo "MESSAGE ID: " .
> HTMLSpecialChars($header->message_id) . "<BR>\n";
>                         echo "SUBJECT:<a href='visInd.php'>" .
> $header->Subject . "<br>\n</a>";
>
>            echo "SENDER ADDRESS: " .
> HTMLSpecialChars($header->senderaddress) . "<BR>\n";
>                        echo "REPLY-TO: " .
> HTMLSpecialChars($header->reply_toaddress) . "<BR>\n";
>                         print("DATE: $header->date<br>\n");
>             echo "REFERENCES: " . HTMLSpecialChars($header->references) .
> "<BR>\n";
>             print("XREF: " . $header->xref) . "<BR>";
>                 }
> }
>
> But I can't get it to write the XREF on the screen. Every thing else
works.
>
> I hope that you can help me
> Thanks
>
> Shimon
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to