Download ZIP and unpack using PHP
<p>I am very very new to PHP and using it as a tool of choice as it is pre-installed on one of my servers as part of an XMAPP install.  What I am trying to do is automate the download and unpacking of a ZIP file so that I can later import it into SQL Server to do some analysis. The file resides at :</p>

<blockquote>
  <p>https://www.example.com/files/p.zip </p>
</blockquote>

<p>I have look through the usual message forums for some hints but they seem to mention downloading other things and when they are posting the PHP I am not sure how it's supposed to be run.  We use PHP at the moment to generate internal email alerts and currently these are executed by a .bat file.  Can anyone offer some assistance please?</p>
