• Hi,

    we love your plugin. Unfortunately we can’t use the altered HTML option, cause then our downloader stops working. I suppose with that option it’s filtering all output with op_start… etc, right?

    Our downloader provides files like that

    header('Expires: 0');
    header('Cache-Control: no-cache, no-store, must-revalidate'); 
    header('Cache-Control: pre-check=0, post-check=0, max-age=0', false); 
    header('Pragma: no-cache');	
    header('Content-Description: Download '.$file);
    header('Content-Disposition: attachment; filename='.$file);
    header('Content-Type: '.filetype($fileName));
    header('Content-Transfer-Encoding: binary');
    error_log('file delivered: '.$fileName);	
    readfile($fileName);

    There’s no PHP error. With the altered HTML the file just isn’t delivered (*I stacktraced it till the last readfile call, it all works fine). Do you maybe have an idea where it conflicts?

    Thanks,
    Bortran

    • This topic was modified 5 years, 11 months ago by bortran.
  • The topic ‘Issue with providing files over a downloader.php’ is closed to new replies.