Re: A Bug in string '<br><br> e<D'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cchereTieShou wrote:
> You can actually try to use this to verify the problem:
> 
> echo '<br><br> e<D';
> 
> What you get? I got <D>
> Quite confusing. Anyone think this is a bug or something I missed?

Are you viewing this via a web server? It's probably returning
content-type text/html, which means that you might need to
htmlspecialchars() that string.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux