title: How to force file download with PHP
body: <p>I want to require a file to be downloaded upon the user visiting a web page with PHP. I think it has something to do with <code>file_get_contents</code>, but am not sure how to execute it.</p>
  
  <pre><code>$url = "http://example.com/go.exe";
  </code></pre>
  
  <p>After downloading a file with <code>header(location)</code> it is not redirecting to another page. It just stops.</p>