title: How to create downloadable link to text file?
body: <p>The purpose is to download the dumped <code>backup.sql</code> file after running the sql dumping script (from PHP). Normally, the dumped <code>.sql</code> file is outputted (written) on the server. Then when i make a href link to that file like <code>&lt;a href="backup.sql"&gt;Download File&lt;/a&gt;</code>, the file is opening inside the browser on clicking, instead of being downloading.</p>
  
  <ul>
  <li>i just want to make a simple <strong>HREF LINK</strong> (to such a text file) which show up with "<strong>Save as..</strong>" dialog on simple <strong>Left Click</strong>.</li>
  </ul>
  
  <p>How it could be done?</p>