You are here: Re: SOLVED: How to upload form data containing special characters correctly? « PHP Programming Language « IT news, forums, messages
Re: SOLVED: How to upload form data containing special characters correctly?

Posted by malatestapunk on 09/07/06 13:07

Wim Cossement wrote:
> Hi boys and girls,
>
> I've finally succeded in getting those uncommon UTF-8 chars in my DB.
>
> The solution is in the end always seems rather obvious, but I'd like to
> say thanks for pushing me in the good direction.
>
> The thing that did the trick was putting
> AddType 'text/html; charset=UTF-8' html
> in .htaccess
>
> Sending a PHP header with "Content-type: text/html; charset: utf-8"
> resulted in an error message that headers had already been sent.
>
> Now I'm still having a problem with a simple mail function that just
> does not want to go, but, that's for later.
>
> See you,
>
> Wimmy

I'm glad to hear you solved your problem. But just in case you need it
anytime later, you received the error when you tried to send a header
through PHP because there was some output before the header. You should
always send headers first, before anything else goes out.

regards,
Vladislav

 

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

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