PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
when i try to do :
[php_man] header ("Content-Type: text/html; charset=iso-8859-1; "); [/php_man]
i get :
Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\matav\SendFlashCommentData.php:2) in C:\Program Files\Apache Group\Apache2\htdocs\matav\SendFlashCommentData.php on line 4
You've got some HTML output before the header command. There can't be any output before headers. If you haven't got any HTML, make sure the PHP open tag is the first thing (before any content, spaces or line breaks) in the file.