Re: Bug #1193: string truncation caused by "<="
| From: | Greg Fox | Date: | Tue, 02 Mar 1999 01:30:57 +0000 |
| Subject: | Re: Bug #1193: string truncation caused by "<=" | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4406@lists.php.net to get a copy of this message | ||
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@lists.php.net
For help: php-dev-help@lists.php.net