I'm trying to create a PHP script which will update the web software. Right now, the update script uploads the ZIP file which contains the new version. I need this script to unzip the file and extract it to the directory above where the upgrade.php script is located (the same directory the zip...
I want to create a PHP script on a server that will download a file from another server (test.com/file.zip) and download it to the server from which the script is running. It is similar to what wordpress does when it automatically installs an update. Thanks!