On Wed, 31 Oct 2001, Wim Kerkhoff wrote: > Steve Smith wrote: > > > > simran writes: > > > I believe there is also a Content-disposition tag you can use to > > > tell the browser what to name the file... > > > > As mentioned below in my original post, it doesn't work in all > > browsers. > > Like you say, PATH_INFO works for many browsers. I ran into issues with
It works for any browser. Browser doesn't no anything about PATH_INFO. > IE not using it properly... I ended up having to tack "&MYPDFFILE.pdf" > onto the end of the URI, just so that it would use the correct > extension. Something to try perhaps. e.g.: > > http://server/perl/pdfgen.pl/MYPDFFILE.pdf?&MYPDFFILE.pdf > > In my case, I had to do this trick to get *.exe files to download as > *.exe instead of *.com. Why do you use "?&MYPDFFILE.pdf" ? I think that http://server/perl/pdfgen.pl/MYPDFFILE.pdf would be enough for MSIE. Igor Sysoev