CGIGETVALUE(3) BSD Library Functions Manual CGIGETVALUE(3)NAMEcgigetvalue — gets the value belonging to name
SYNOPSIS
#include <cgi.h>
const char *
cgigetvalue(char *name);
DESCRIPTION
The cgigetvalue() function is used to get the value of name passed to a
cgi script. It will automaticly determines the method used to submit the
information from the browser.
The first call will automaticly create a internal search table that is
used to look up the values. This will be used in following calls to
cgigetvalue() until either cgiclose(3) or cginewquerystr(3) is called.
After one of those functions is called, cgigetvalue() will either reread
the QUERY_STRING environment variable if the method is GET, or parse the
string passed to cginewquerystr(3) .
RETURN VALUES
The cgigetvalue() function returns a pointer to the value associated with
name if name exists; otherwise a null pointer is returned.
SEE ALSOcgiclose(3), cginewquerystr(3),
AUTHORS
The cgiparse library was writen by John-Mark Gurney ⟨gurney_j@efn.org⟩.
This product includes software developed by the Apache Group for use in
the Apache HTTP server project (http://www.apache.org/).
BUGS
None currently known.
BSD March 13, 1996 BSD