I use this code to force download, it works fine when I squeeze it in XAMPP, but it returns corrupted file when I run on the ubunto, what can I do to fix it?
header('Content-Length: ' . filesizecurl($file_path));
header('Conten...
asked by
02.04.2017 / 04:02