Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Warning: Cannot modify header information - headers already sent
#4
Try using output buffering. Put ob_start() a line before the header and ob_flush() after the important line you want to execute so that the header will be sent later after execution. Hope this helps.
Reply


Messages In This Thread
RE: Warning: Cannot modify header information - headers already sent - by blackstrider - 02-16-2010, 06:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Change warning level color with php [help] KingOfHunt3rs 0 1,107 12-04-2014, 08:45 AM
Last Post: KingOfHunt3rs
  [TUT] How to make, and call headers and footers. Extasey 0 677 05-12-2010, 10:42 PM
Last Post: Extasey

Forum Jump:


Users browsing this thread: 6 Guest(s)