On Tue, 26 Jun 2001, Gary Stainburn <[EMAIL PROTECTED]> wrote,
> Hi all,
>
> I've written a perl script that creates PDF files containing our sales
> invoices and it works fine writing the PDF's to disk. (Actually it creates a
> postscript file and runs ps2pdf).
>
> I now want to embed this inside a CGI so people can view them on-line and
> have their browser fire off acroread.
>
> To do this I need to set the correct MIME type in the http header. Is there
> a list of the correct MIME types to use. I will soon be wanting to do a
> similar thing with CSV and excel files amongst others.
Yes, right in your box, /etc/mime.types. Windows has it somewhere
in registry.
__END__
--
s::a::n->http(www.trabas.com)