On Sun, 16 Sep 2001, Luboslav Gabal ml. wrote:
> I have script for getting header of article from NNTP server using sockets:
> output have look so:
> From: "Antonin Mohaupt" <[EMAIL PROTECTED]>
> but it is only
> From: "Antonin Mohaupt"
> What's the problem ? I tried higher raise length of data (second argument of
Anything between < and > will look like an HTML tag to your browser. If
you view the source of the HTML in your browser, I'm sure you'll see
<[EMAIL PROTECTED]> :) You browser just doesn't know how to display that
tag (because it's not one). Change your echo line from
echo $result."<br>";
to
echo htmlspecialchars($result)."<br>";
This will convert "<" to "<" and ">" to ">" so it will be displayed
in your browser correctly.
For more info: http://php.net/htmlspecialchars
~Chris /"\
\ / September 11, 2001
X We Are All New Yorkers
/ \ rm -rf /bin/laden
--
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]