Reply to Re: [PHP] Re: A Bug in string '<br><br> e<D'?

Your name:

Reply:


Posted by Jasper Bryant-Greene on 06/27/05 06:05

Kevin L'Huillier wrote:
> Could you copy the relevant code into a message? Seeing
> pseudo-script is different from seeing what you are actually
> doing.

Sure, either set the content-type to text/plain (to see the raw string
rather than have the browser interpret it as HTML), like this:

<?php
header('Content-Type: text/plain; charset=utf-8');
?>

or htmlspecialchars the string, like this:

<?php
print(htmlspecialchars($your_sql_string));
?>

Or just view source in your browser to see the raw string.

Jasper

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация