I\'m trying to get a remote file and force download it to user at the same time. I can\'t paste the code ,the code is too long . but the curl function works ,but the problem
how to get big (8GB) remote file and force download at same time, while not killing you server:
the readfile() function will read the stream in chunks, and print it to the output, so it will not use much memory...