delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/15/02:21:02

Date: Wed, 15 Mar 2000 12:08:20 +0500
Message-Id: <200003150708.MAA00751@midpec.com>
From: Prashant TR <tr AT midpec DOT com>
To: Robin Johnson <robbat2 AT home DOT com>
CC: djgpp AT delorie DOT com
In-reply-to: <38CEE319.53555DA3@home.com> (message from Robin Johnson on Wed,
15 Mar 2000 01:11:03 GMT)
Subject: Re: CGI
References: <38CE5FF3 DOT 50D45DAA AT home DOT com> <38CE6666 DOT B253EA84 AT gs707 DOT com> <38CEE319 DOT 53555DA3 AT home DOT com>
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

Robin Johnson <robbat2 AT home DOT com> writes:

> How to return a 'content' string?

Just use a printf statement like this *before* you print anything else.

printf("Content-type: text/html\n\n");

- Raw text -


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