In PHP I know how to read a file. However, I want the script to be able to return the contents of the file to be downloaded.
For example:
http://example.com/myfiles.php?source=images.zip
I need myfiles.php to returns the headers of zip file followed by its contents.
You need to change the headers in myfiles.php script file so it will force it to download: