forcing page download in php
<p>How do I force the browser to download the current page browsed to? a page with the header Content-type: text/plain for example using PHP?</p>

<p>If a user navigates to that page, a download box should appear (the browser download dialog with the usual "Save As"</p>
