next up previous contents
Next: I'm under Windowswhat Up: CGI programming in Free Previous: Getting your data

Producing output

The previous section concentrated mostly on getting input from the web server. To send the reply to the server, you don't need to do anything special.You just print your data on standard output, and the Web-server will intercept this, and send your output to the WWW-client waiting for it.

You can print anything you want, the only thing you must take care of is that you supply a Contents-type line, followed by an empty line, as follows:

Writeln ('Content-type: text/html');
Writeln;
{ ...start output of the form... }

And that's all there is to it !



Michael Van Canneyt
Thu Sep 10 13:56:17 CEST 1998