/*--------------------------------------------------------*/ /* form.c 08-aug-1997/bets */ /* based on code from pablo */ /*--------------------------------------------------------*/ #include #include #include #include "page.h" #include "cgi.h" #include "form.h" int form_varcount = 0; entry form_varentries[MAX_ENTRIES]; /*--------------------------------------------------------*/ /* form_getvar */ /* this routine returns the value of the variable named */ /* thename from the internal array of variable name/value */ /* pairs */ /*--------------------------------------------------------*/ char *form_getvar( char *thename ) { int i; for ( i=0; i