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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 14 02:01:27 2024 UTC