Objective Caml library for writing CGIs

Cedric Cellier 30ebcfbf6d Add a simple tool to help run cgi scripts from the command line 3 weeks ago
.gitignore 30ebcfbf6d Add a simple tool to help run cgi scripts from the command line 3 weeks ago
CHANGES 9b488227cc Update CHANGE for release 3 years ago
COPYING 83f619176a Upstream version 10 years ago
LGPL 83f619176a Upstream version 10 years ago
META 11ec346ce4 change lib version from 0.8 to 0.9 in META 10 years ago
Makefile.in 30ebcfbf6d Add a simple tool to help run cgi scripts from the command line 3 weeks ago
README e8dbec9904 Update CHANGES and README for release 5 years ago
cgi.ml 70bca4ce92 Use text/plain as a default CONTENT_TYPE 9 months ago
cgi.mli baa87cc8c2 Cosmetics: typos and gitignore 3 years ago
configure 8ebbbc739b Bump version to 0.11 + some build cleanup 1 year ago
configure.ac 8ebbbc739b Bump version to 0.11 + some build cleanup 1 year ago
opam 2e3d48feb6 Increase version number in opam 9 months ago
runcgi.ml 30ebcfbf6d Add a simple tool to help run cgi scripts from the command line 3 weeks 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