Hello. I was faced with the task of giving the user files from a third-party server, but the memory on the VDS is not infinite and downloading the entire file is not an option. fopen supports url, but how to send the file through the descriptor and not load it into memory?
PS Do I understand correctly that if you output everything to echo, then the data will be dropped into the output stream bypassing the memory?