From the CGI documentation regarding the use of -attachment:
Instead of displaying the page, some browsers will prompt the user to save it to diskSuggested fix: Remove the -attachment option.
There will be browsers that don't have the PDF reader extension properly configured (or set to always download): they will still have it downloaded.
I imagine you might want to suggest a name to the browser for if they choose to download it. I've always done it with path information, linking to the CGI script as: /cgi-bin/myscript.cgi/something.pdf, where myscript.cgi is of course the script itself. You can ignore the path info, no modifications are needed to your script.
-Thomas
"Excuse me for butting in, but I'm interrupt-driven..."
In reply to Re: Creating inline PDF?
by thomas895
in thread Creating inline PDF?
by cscooper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |