http://qs321.pair.com?node_id=150531


in reply to cgi buffer flush

Suffering from Buffering written by Dominus may be of some assistance to you.

I am also curious about print "Content-type: text/html\r\n\r\n"; - is this essentially the same as print "Content-type: text/html\n\n"; or is there some difference?

Update: io answered my question with regards to the header++

Replies are listed 'Best First'.
Re: Re: cgi buffer flush
by arc_of_descent (Hermit) on Mar 09, 2002 at 11:11 UTC
    Yes i had read that article before and i even read it once more, but unfortunately i don't know what to do next. I have tried all the possoible variations.
    I also did away with print statements and used syswrite instead which does no buffering.
    But still i don't get what i want.
    The script works perfectly on command line

    I'm not sure about the newlines and carriage returns in the Content-Type header.
    My guess is that any of them should do.

    --
    arc_of_descent