By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,836 Members | 2,059 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,836 IT Pros & Developers. It's quick & easy.

Error: Cannot modify header information - headers already sent

P: 10
Hello

I am also facing this problem when i amtrying to send additional header information.

Warning: Cannot modify header information - headers already sent by (output started at header.php:96) in my.class.php on line 1198


What is happening over here is that i when i am trying to download an attached file i am passing the additional header information which is conflicting with the header info which has already being sent before.

Please help on how can i send this header info along with the one passed already.

I checked for all the whitespaces in the header file etc and removed it.
Feb 6 '08 #1
Share this Question
Share on Google+
2 Replies


harshmaul
Expert 100+
P: 490
hi,
Somewhere before you add the header you must be outputing some text. please post some code
Feb 6 '08 #2

nathj
Expert 100+
P: 938
hi,
Somewhere before you add the header you must be outputing some text. please post some code
You should also note that a blank line spacing your code out counts as ouputting text.

Post the code, I'm sure we'll spot it.

nathj
Feb 6 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.