You are here: Re: Export to csv « PHP Programming Language « IT news, forums, messages
Re: Export to csv

Posted by chotiwallah on 09/28/67 11:28

Zeff wrote:
> Hi Micha,
>
> Thanks for your suggestion. I checked out this option before, but I get
> an error message.
> "Warning: Cannot modify header information - headers already sent by
> (output started at /var/www/myfile.php:4) in /var/www/myfile.php on line
> 208"
>
> Should I edit my php.ini?
>
> Zeff
> ___

well yes, only one header allowed per script.

your error is produced by sending output to the browser before you send
the header. send the headers 1st thing or buffer the output.

in your special case i would make sure that no output except the csv
data is sent, so this data is not messed up in some way.

micha

 

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

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