title: New line before header()
body: <p>I'm working with a custom made Joomla script that generates an image from a blob in a database.  However, when we moved it from an Apache server to an IIS server, the script is breaking.</p>
  
  <p>Upon investigation, it seems that now, there is a line break that is getting appended before the header function is being run (when I comment out the image portion, and do an echo "test";, test gets printed on line 2 of the source code.</p>
  
  <p>I've gone through the script over and over again, and through the many files in the component, and can't seem to find out where this new line is coming from. At all. </p>
  
  <p>I've tried using ob_start() and many similar functions, but nothing seems to work.</p>
  
  <p>I'm completely out of ideas, and don't know where to turn.</p>
  
  <p>Is there a way to trace what files are being called in the page, perhaps?  Any thoughts on further steps?</p>