I tried some curl actions, but all _download_ entire file before checking its size. I want to be able just to check a file size (remote http) and if it is too big then return error but I want to do that BEFORE php/curl download entire file.
any ideas?