You are here: Re: PHP create HTML email inserts '!'s « PHP Programming Language « IT news, forums, messages
Re: PHP create HTML email inserts '!'s

Posted by Toby A Inkster on 02/09/07 10:44

geek7 wrote:

> $headers .= "Content-Type: text/html;\r\n";
> $headers .= "charset=\"iso-8859-1\"\r\n";

This is broken.

Should be either:

$headers .= "Content-Type: text/html; ";
$headers .= "charset=\"iso-8859-1\"\r\n";

or:

$headers .= "Content-Type: text/html;\r\n";
$headers .= "\tcharset=\"iso-8859-1\"\r\n";

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/CSS/Javascript/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!

 

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

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