Re: CGI-output

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 UTC