Re: imap?

From: Date: Sun, 02 Sep 2001 20:38:29 +0000
Subject: Re: imap?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65673@lists.php.net to get a copy of this message
You're missing a closing ) on the final print() statement... -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com 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 <shimon@oek.dk> Newsgroups: php.general To: <php-general@lists.php.net> 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 > >

« previous php.general (#65673) next »