delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/22/21:20:51

Date: Thu, 23 Mar 2000 06:33:45 +0500
Message-Id: <200003230133.GAA00899@midpec.com>
From: tr AT midpec DOT com (Prashant TR)
To: djgpp AT delorie DOT com
In-reply-to: <3L7C4.1782$AU.144773@weber.videotron.net> (martin@vr-labs.com)
Subject: Re: DJGPP & CGI
References: <38D7C78E DOT 2708CFD1 AT pgmincorporated DOT com> <38D7E7D1 DOT D14B432F AT bigfoot DOT com> <3L7C4.1782$AU DOT 144773 AT weber DOT videotron DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

"Martin Peach" <martin AT vr-labs DOT com> proclaimed:

> Richard Dawe <richdawe AT bigfoot DOT com> wrote in message
> news:38D7E7D1 DOT D14B432F AT bigfoot DOT com...
> > Shouldn't that be:
> >
> > printf("Content-Type: text/html\n\n");
> Shouldn't that be printf("Content-Type: text/html\r\n");
> You are supposed to put the CRLF pair at the end of html lines...

No, you need two newlines, or else the server is going to reject that cgi
script.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019