// Download File to server from URL
file_put_contents("tmpfile.zip", fopen("http://someurl/file.zip", 'r'));
// download to client from server
$fileName = "zipfile1.zip"; // include path /
header("Content-disposition: attachment; filename=".$fileName);
header("Content-type: ".mime_content_type($filePath));
readfile($fileName);