You are here: Re: ? character displays instead of pound sign « PHP Programming Language « IT news, forums, messages
Re: ? character displays instead of pound sign

Posted by Juliette on 09/28/75 11:57

monomaniac21 wrote:
>> Try £ for £
>> --
>
> i cant as it is the user entering the pound into textarea.
>

Excuse me.. you mean you are accepting user input with your eyes wide
shut ?!?! No validation or formatting at all ?
Bad practice to start with...

But hey.. it's your app that will get hacked, not mine.

For solving the ? puzzle, set the form encoding to the correct charset,
set the page encoding to the correct charset, send a good charset header
and use htmlentities() *with* the optional encoding parameter.

It that doesn't help you, be more specific in your question.

 

Navigation:

[Reply to this 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

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