[11080] in www-talk@info.cern.ch
Re: CGI-output
daemon@ATHENA.MIT.EDU (Stuart Harris)
Mon Jan 12 17:58:39 1998
Date: Mon, 12 Jan 1998 12:31:57 -0500
From: Stuart Harris <sirrah@baluga.maximumaccess.com>
To: William Hill <whill@trintech.com>
Cc: www-talk@w3.org
Resent-From: 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
==========