Re: [PHP-DEV] Bug #1193: string truncation caused by "<=" From: Greg Fox (fox <email protected>)
Date: 03/01/99

On Mon 03/01/99 07:53:54PM, Rasmus Lerdorf wrote:
[...]
> You know, I bet it is sending it, but your browser isn't showing it
> because it thinks it is an HTML tag.

On Mon 03/01/99 08:01:20PM, Jim Winstead wrote:
[...]
> Or viewing the result in a web browser that eats the last part because
> it thinks it is going to be an HTML tag.

it's true that:

  $foo = "baz <= bar";
  echo htmlspecialchars($foo);

causes the proper string to be emitted. i originally ran across the
problem in the context of formatting a string for a MySQL query. since
the results i was seeing were incorrect, i didn't think it was just a
display problem; however, the two symptoms could well be unrelated.
i'll try to reproduce the initial condition and edit the bug report
appropriately.

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>