79609402

Date: 2025-05-06 19:59:22
Score: 1.5
Natty:
Report link

I found out something that works, but i can't explain why as it seems weird.

If the path to the script delivering the PDF file is e.g. domain.com/reader/delivery.php where delivery.php reads the file and echoes it to show it in the browser, just add the filename you want to appear in the download dialog like this:

domain.com/reader/delivery.php/filename.pdf

Tested in Chrome, Firefox and Edge.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Javier Busques