katzuma has asked for the wisdom of the Perl Monks concerning the following question:

Dear monks, here's my question: When a CGI outputs a header with a content-type that the browser wants to download, the file actually downloaded takes the name of the cgi script.... Is there a way to set the filename or at least the extension? Thanks

Replies are listed 'Best First'.
Re: CGI outputting non-standard headers
by Mr. Muskrat (Canon) on Mar 29, 2003 at 18:21 UTC
•Re: CGI outputting non-standard headers
by merlyn (Sage) on Mar 29, 2003 at 18:38 UTC
      BTDTSDIT It's your moto {grin && LOL}

      cheers

      tachyon

      s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print