Hi,
I'm trying to use a pre-existing CGI script without
modification. I'd like to use an input filter to tack
on something to the POST string. My filter adds the
string, but the CGI sees a CONTENT_LENGTH
environmental variable that corresponds to its
original length. How do I update the CONTENT
ile reports a server error 500,
premature end of script headers and the
content-disposition line is displayed, so it looks
like it is not being treated as a header.
Any suggestions on how to fix this?
Thanks,
Micah Johnson
__
Do you Yahoo!?
> > and the script prints headers like this:
> >
> > print "Content-type: text/plain\n";
> > print "Content-Disposition: attachment;
> > filename=results.xml\n\n";
> >
> > The resulting file reports a server error 500,
> > premature end of script headers and the
> > content-disposition l
--- Stas Bekman <[EMAIL PROTECTED]> wrote:
> Micah Johnson wrote:
> [...]
> >>print q[Content-type: text/plain\n] .
> >>q[Content-Disposition:
> >>attachment;filename=results.xml\n\n].
> >
> >
> > Thanks!
> > The local $| = 0 tric