Objective Caml library for writing CGIs

Cedric Cellier 784067ee5e Updating opam file for v0.11 9 months ago
.gitignore 8ebbbc739b Bump version to 0.11 + some build cleanup 9 months ago
CHANGES 9b488227cc Update CHANGE for release 2 years ago
COPYING 83f619176a Upstream version 9 years ago
LGPL 83f619176a Upstream version 9 years ago
META 11ec346ce4 change lib version from 0.8 to 0.9 in META 9 years ago
Makefile.in 8ebbbc739b Bump version to 0.11 + some build cleanup 9 months ago
README e8dbec9904 Update CHANGES and README for release 4 years ago
cgi.ml dbb5c9a28f Fix read_body several times: avoid re-reading EOF 2 years ago
cgi.mli baa87cc8c2 Cosmetics: typos and gitignore 2 years ago
configure 8ebbbc739b Bump version to 0.11 + some build cleanup 9 months ago
configure.ac 8ebbbc739b Bump version to 0.11 + some build cleanup 9 months ago
opam 784067ee5e Updating opam file for v0.11 9 months ago

README

ocamlcgi - Objective Caml library for writing CGIs
Copyright (C) 1997 Daniel de Rauglaudre, INRIA
Copyright (C) 1998 Jean-Christophe FILLIATRE

Installation:

1. "make" will compile both bytecode and native-code versions of the library.
Use "make byte" if your platform only suports bytecode compilation.

2. You can install the library with "make install" ("make install-byte" on
bytecode only platforms). Default place is the ocaml standard library.
You can change it by editing the Makefile and setting the variable
TARGETDIR to another directory.


Programs using it must be compiled this way:

ocamlc -o -custom cgi.cmo

ocamlopt -o cgi.cmx


Mainly, it provides a function to parse the CGI arguments, parse_args,
the result being an association list

[ (FIELD1, VALUE1); (FIELD2, VALUE2); ... ]

where the form was of the kind



...


Please send comments and bug reports to

rixed-github@happyleptic.org OR
Jean-Christophe.Filliatre@lri.fr