title: send a file to client
body: <p>I want to write a text file in  the server through Php, and have the client to download that file. </p>
  
  <p>How would i do that?</p>
  
  <p>Essentially the client should be able to download the file from the server.</p>