Kaya 0.5.3 reference for CGI::checkInput

List of functions and data types in CGI

String checkInput(String inp, [String] options, String def)

Arguments

Usage

Checks that an input string is one of a defined list of options, returning it if so, returning a default value otherwise. This function accepts a Tainted string as inp, and so can be used to detaint.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya