PHP headers not working on server but works on local server?
<pre><code>header("Content-type: application/octet-stream"); 
header("Content-Disposition: attachment; filename=filename.xls");
header("Pragma: no-cache");
header("Expires: 0");
</code></pre>

<p>On my local system above code work properly but on server its not work.</p>
