title: Automatically Download File from a Webpage
body: <p>Im trying to download a file that requires you to click "download" on the website.</p>
  
  <pre><code>https://apps.tdi.state.tx.us/sfsdatalookup/StartLookupAction.do?inquiryId=30
  </code></pre>
  
  <p>How do I write a php code to automatically download the file when I call the script?</p>