Parser - Support for Mosaic 2.x Forms

Mosaic 2.0 has few extensions of HTML language and one of them is form creation and submission. Creating a form is as easy as writing any HTML document (try A beginner's Guide to HTML if you are not familiar with hypertext) and is well described in Mosaic 2.x Fill-Out Form Support document.

Form submission is also easy, but there comes a C program run by WWW server (we use NCSA httpd) which reads parameters from the form. This document describes new utility routine which may be helpful in dealing with Mosaic 2.x forms. Routine named parser is designed for submission method POST and cannot be used with method GET. It reads parameters and converts it to proper data format

New version with new features is released. parser v 1.1 is designed for httpd 1.0. It can read checkboxes as a boolean variables (int in C programs) and tables of strings ( char **) which may be useful when using multiple select menu.

We have also two old versions of parser dependeing on WWW server version (we assume that you use NCSA server httpd) :

Difference between them is significant. Usage of parser routine is very similar, but code differs. In version 1.0 we added automatic parsing of environment variables set by httpd 1.0.
This document is placed at FUW (Physics Department of Warsaw University). If you want to go to our home page press this.
Kacper Nowicki (kacper@fuw.edu.pl) - 20.12.93