Reply to PHP sending whitespace after headers?

Your name:

Reply:


Posted by Harold Martin on 12/13/68 11:56

Hello-
I'm working on a simple script that does something like:
header('Content-type: text/directory');
echo "BEGIN:VCARD\r\n";

However, PHP appears to send some additional whitespace after the
headers are sent (after the 200 OK message). I noticed this behavior
also occurs when no custom headers are sent. The problem here is the
some vCard readers will fail if the file begins with whitespace, so how
can I disable this extra whitespace sending in PHP?

Thanks-
Harold

[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

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