----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

On Tue, Feb 29, 2000 at 03:31:09PM -0500, Stephen Adkins wrote:
> >I have a script that is going to be spitting out a bunch of tab delimited
> data. So I set the content type to text/tsv. In PHP, if you set the
> Content-Disposition to a file name, that name will appeare in the file
> download dialoug box. Doesn't seem to be working here, just defaults to the
> name of the scritpt.
> >
> > if(output_to_file)
> >                {
> >
> response.setHeader("Content-Dispostion:","orders.tsv");
> >                        response.setContentType("text/tsv");
> >...
> >
> >Any ideas?
> >
> 
> Hi,
> 
> How about the typo? ... should by "Content-Disposition".
> 
> Stephen

Ugh. Thanks.

jrw


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to