Header Errors - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Header Errors (/showthread.php?tid=36277) |
Header Errors - El Forum - 11-26-2010 [eluser]Eric Brown[/eluser] I'm trying to output a pixel to the screen but I'm getting header errors. Here's my code. Code: $this->output->set_header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 So I'm wondering how I can take the contents of the pixel stream and append them to the CI output as it appears that is executing at some point later. What method forces the output to the browser so I can push the headers out before the image stream? |