W3C home > Mailing lists > Public > www-talk@w3.org > January to February 1998

Re: CGI-output

From: Stuart Harris <sirrah@baluga.maximumaccess.com>
Date: Mon, 12 Jan 1998 12:31:57 -0500
Message-ID: <34BA538D.63E134D5@baluga.maximumaccess.com>
To: William Hill <whill@trintech.com>
CC: www-talk@w3.org
William Hill wrote:
> 
> I have written an input form in html, which then passes the
> information
> entered by the user to  cgi program written in 'c'. This is all fine
> and
> I can send a response back from the cgi program using stdout.
> 
> However what I would really like to do is send a reponse from the cgi
> program to an existing web page i.e. an ASP page where I can use the
> response from the cgi program to undergo further processing.

A routine problem. You have two choices:

1) Open the HTML file for writing and re-make the entire page on the
fly, modified as appropriate by user input.

2) Open the file for read/write: Read it in, modify it, write it back
out.

Cheers,
-- 
Stu Harris
==========
Received on Monday, 12 January 1998 17:30:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:23 GMT