title: download the text file instead of opening in the browser
body: <p>i have one text file:</p>
  
  <p>When i click the <strong>Download</strong> it should download and save it in my local download path.</p>
  
  <p>I have tried.</p>
  
  <pre><code>window.open("data.txt");
  </code></pre>
  
  <p>and</p>
  
  <pre><code>header("Location:data.txt")
  </code></pre>
  
  <p>But both are open the text file browser it self. I what download the txt file.</p>
  
  <p>Any one please help me..</p>
  
  <p>Thanks</p>
  
  <p>Manikandan.</p>