in reply to NPH Scripts on Apache under Win32

Actually it works fine for me with Galeon - but I think the problem you are seeing is because you need to output proper carriage return / line feed pairs in the header and not just "\n" - you can probably replace the "\n"s in the header with "\r\n" or "\xOD\xOA" more exactly

/J\

Replies are listed 'Best First'.
Re: Re: NPH Scripts on Apache under Win32
by vbrtrmn (Pilgrim) on Feb 23, 2002 at 15:42 UTC
    Using the Mozilla & IE browsers under windows.. Content-type: text/plain\r\n returns the save file dialog. Content-type: text/plain\x0D\x0A (those are zeros) returns the same. Content-type: text/plain\r\r returns the same. Content-type: text/plain\x0D\x0D (those are zeros) returns the same. Content-type: text/plain\xOD\xOD (those are oh's) returns a blank page. Content-type: text/plain\xOD\xOA (those are oh's) returns a blank page.
    --
    paul