If i have a path like below:
"/sites/main/files/myfile.zip"
How can I download the file using PHP?
I tried something like below but nothing happens. Anyone has any ideas?
$myzipfile = "/sites/main/files/myfile.zip";
file_put_contents("myfile.zip", file_get_contents( $myzipfile ));