On Sat, 8 Jul 2006, "Jonathan Hayward http://JonathansCorner.com" wrote: > > I'm trying to figure out how to use CamlGI with OCaml, [...] CamlGI code has been integrated into the Netcgi component of OcamlNet-2 , please use that instead. > [...] script that [...] prints a webpage saying only "Yes", "No", > "Other" or "Undefined" depending on whether the CGI variable "foo" > has value 1, 0, some other defined value, or is undefined (never > mind about multiple values)? You can find examples in the examples/ directory (add.ml is a very simple one). As for the specific example you desire, it is attached. It is maybe a bit more complex that you expected because it demonstrates additional features (text escaping, setting the header, buffered output). Hope it helps, ChriS