title: dompdf stream pdf in browser using localhost, but not in network ip
body: <p>i need to know why dompdf doesn't stream a pdf in browser before download on network ip like 192.168.1.77 , but it works on localhost.</p>
  
  <p>when using network ip, it just immediately download the file , it won't show pdf preview in browser</p>
  
  <p>i'm using dompdf version 0.6.2
  this is my code</p>
  
  <pre><code>$dompdf = new DOMPDF();
      ob_start();
  
      $this-&gt;load-&gt;view('report_me',array_merge($this-&gt;sesi,$this-&gt;session-&gt;userdata('printdata')));
      // header('Pragma','public');
      $html = ob_get_contents();
      ob_end_clean();
  
      // $this-&gt;session-&gt;unset_userdata('printdata');
  // $dompdf-&gt;set_option('setIsHtml5ParserEnabled', true);
  
  
      $dompdf-&gt;load_html($html);
  
  // (Optional) Setup the paper size and orientation
  // $dompdf-&gt;setPaper('A4', 'potrait');
  
  // Render the HTML as PDF
      $dompdf-&gt;render();
      $canvas = $dompdf-&gt;get_canvas();
      $font = Font_Metrics::get_font("helvetica", "bold");
      $canvas-&gt;page_text(44, 760, "Page {PAGE_NUM} of {PAGE_COUNT}", $font, 8, array(0,0,0));
  
  //ERASE SESSION
  
  // Output the generated PDF to Browser
      $dts = date('Y-m-d');
      // $dompdf-&gt;output();
      // $dompdf-&gt;stream();
      $dompdf-&gt;stream('inv_'.$this-&gt;Master_model-&gt;getInvoiceNumber().'_'.$dts.'.pdf',array('Attachment'=&gt;0));
  </code></pre>
  
  <p>i had enabling the </p>
  
  <blockquote>
    <p>ENABLE_REMOTE</p>
  </blockquote>
  
  <p>to TRUE</p>
  
  <p>Seems like i'm the only one that face the problem, hope someone can help me through this..</p>