|Normally I use a CGI script that designates the content type as "text/html". I can create a link on the website that runs a subroutine that creates a PDF report, but in sending it back to the browser, it's treating it as text, so all of the PDF
codes you would see if you looked at it in Notepad are displayed
instead of launching Acrobat. How can I send the PDF file as a *.pdf back to
the browser so it knows to open Acrobat?
Changing the content type tag in the CGI script to "application/pdf", which is the content type for *.pdf documents, will do the trick.