[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] Sending file to the browser...


Michael Graham wrote:

> In addition to setting the type with the Content-Type header, you can
> also set the filename with: 
> 
>     Content-Disposition: inline; filename=foo.xls
> 
> I think the header_add syntax would be:
> 
>     $self->header_add(
>         -content_disposition => 'inline; filename=foo.xls'
>     );
> 
> Maybe that will help?

That does it.

Thanks!  =)

--TWH

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.