1 .\" cgiInit - Initializes CGI library
2 .\" Copyright (c) 1998,9 by Martin Schulze <joey@infodrom.north.de>
4 .\" This program is free software; you can redistribute it and/or modify
5 .\" it under the terms of the GNU General Public License as published by
6 .\" the Free Software Foundation; either version 2 of the License, or
7 .\" (at your option) any later version.
9 .\" This program is distributed in the hope that it will be useful,
10 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 .\" GNU General Public License for more details.
14 .\" You should have received a copy of the GNU General Public License
15 .\" along with this program; if not, write to the Free Software
16 .\" Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 .TH cgiInit 3 "17 August 1999" "CGI Library" "Programmer's Manual"
20 cgiInit \- Initializes CGI library
28 This routine initializes the CGI routines. Mainly it reads in and
29 decodes CGI data for later processing. If the program is not called
30 via CGI interface the user is prompted to type in CGI variable
31 bindings via stdin - just like CGI.pm does. There is no limit in the
32 number of variable bindings.
34 If HTTP Cookies are used (through the variable HTTP_COOKIE) this
35 routine will parse them as well and assign them to internal variables.
36 There is no limit in the number of cookies.
38 To set a cookie you'll have to use the
40 routine. Some clients allow 4kB of Cookies while others only allow
41 short ones. Some clients may also allow only 200 Cookies for a
42 certain domain/path pair.
44 This routine normally is the first or second. Only
46 may be called before. If debugging is enabled this routine produces
47 some additional output.
49 On success a set of CGI variable bindings is returned that is needed
50 for later processing. If an error occurs NULL is returned.
53 This CGI library is written by Martin Schulze
54 <joey@infodrom.north.de>. If you have additions or improvements
55 please get in touch with him.
63 .BR cgiGetVariables (3)
65 .BR cgiGetCookies (3).