From: "Martin Peach" Newsgroups: comp.os.msdos.djgpp References: <38D7C78E DOT 2708CFD1 AT pgmincorporated DOT com> <38D7E7D1 DOT D14B432F AT bigfoot DOT com> Subject: Re: DJGPP & CGI Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: <3L7C4.1782$AU.144773@weber.videotron.net> Date: Wed, 22 Mar 2000 12:53:18 -0500 NNTP-Posting-Host: 24.200.47.104 X-Complaints-To: abuse AT videotron DOT net X-Trace: weber.videotron.net 953747519 24.200.47.104 (Wed, 22 Mar 2000 12:51:59 EST) NNTP-Posting-Date: Wed, 22 Mar 2000 12:51:59 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Richard Dawe 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... \/\/\/*= Martin