Also, I show how to write C programs that do the job, not just batch files or Visual Basic code.
First, you should get up to speed if you don't know about HTML or URLs. Then set yourself up with httpd.
The key to forms is that a URL can point to a PC executable. When referenced, the executable is run and its HTML output is what you see.
When you write Form HTML you specify a URL that is run when the user has filled in a form. This URL will be your PC executable which receives the user's form data as its input.
Here's a picture of an HTML for this form.
This PC Forms Preamble gives some background on forms.
httpd uses the Common Gateway Interface (CGI) to run both DOS-box and Windows programs. So our CGI programs are passed the CGI Data File when run.
To cut a long story short, here is a working Windows program and its actual C program code.
Here are some Hints on writing forms. You can set image maps to respond when a user clicks in an image. There is also information on the <ISINDEX> tag.
Finally, I discuss possible Applications.
Also, there is a working group on the next generation of HTML, ie version 3.0, and an associated browser. You will be able to set up proper tables, and internationalise your pages. It may include OLE/OpenDoc style embedding within HTML documents - more efficient than CGI? Form fields should be improved, and client-side scripts can be associated with forms.
Writing PC programs that respond to forms, or provide real-time HTML, is pretty straight forward. Get connected!
7 February 1995