Generate download file link in PHP
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/985083/open-download-dialog-with-php">open download dialog with php</a>  </p>
</blockquote>



<p>I have a link in my page say, <code>&lt;a href='test.pdf'&gt;(Test.pdf)&lt;/a&gt;</code>.
When I click on that link, download dialogue box should open to download that file.
Can anyone help me in implementing this in PHP?</p>

<p>thanks</p>
