php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2001 I can't read news header message.
Submitted: 1999-08-09 04:17 UTC Modified: 1999-08-09 21:12 UTC
From: bjb at dosan dot kangnam dot ac dot kr Assigned:
Status: Closed Package: Other
PHP Version: 3.0.11 OS: redhat linux 5.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bjb at dosan dot kangnam dot ac dot kr
New email:
PHP Version: OS:

 

 [1999-08-09 04:17 UTC] bjb at dosan dot kangnam dot ac dot kr
I'm makeing the 'usenet client for web'(viewer).

First following is my source.
---------------------------------------------------
// news header
Message-ID: <slrn7b1dk1.6kg.artsilly@linux.korea.ac.kr> 
References: <slrn7ar9sp.31n.artsilly@linux.korea.ac.kr> 
// my source
$getline = fgets($handle,1024);
echo($getline);
----------------------------------------------------
but result is
Message-ID:
References:
-----------------------------------------------------
I want
Message-ID: <slrn7b1dk1.6kg.artsilly@linux.korea.ac.kr> 
References: <slrn7ar9sp.31n.artsilly@linux.korea.ac.kr> 
-----------------------------------------------------
Why I can't read message headers...

I can't English very well.
Sorry. thanks.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-09 21:12 UTC] chagenbu at cvs dot php dot net
"View Source" on your generated page - most likely it is
working perfectly. But since < and > are html tags, your
browser is hiding anything between them.

Try running your values through htmlspecialchars() before
outputting them to the browser.
 [1999-08-09 21:12 UTC] chagenbu at cvs dot php dot net
"View Source" on your generated page - most likely it is
working perfectly. But since < and > are html tags, your
browser is hiding anything between them.

Try running your values through htmlspecialchars() before
outputting them to the browser.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC