On Dec 5, 2007 3:33 PM, Barry Von Ahsen &lt;<a href="mailto:barry@vonahsen.com">barry@vonahsen.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
so I had to revisit this, and it seems a lot of people have this<br>problem, but haven&#39;t found a solution.<br><br>I want users to download a file that preferably lives outside of the<br>webroot. &nbsp;it works fine in FF and IE7, but IE6 won&#39;t pick up the file
<br>name I specify, it wants to name it my page name (download.php) - I<br>accept that IE6 SP2 will force a download, I just want the name to be<br>right. &nbsp;anybody fixed this?<br><br></blockquote></div><br>Here&#39;s my code:
<br><br>// now we need to download the file<br>//header(&quot;Content-Type: application/ms-x-download&quot;);<br>header(&quot;Content-Type: application/octet-stream&quot;);<br>header(&quot;Content-Length: $size&quot;);<br>
header(&quot;Content-Disposition: attachment; filename=\&quot;$name\&quot;&quot;);<br>header(&quot;Content-Transfer-Encoding: binary&quot;);<br><br>-- <br>Matthew Nuzum<br>newz2000 on freenode