. Corrected debian/rules
[infodrom/cgilib] / readme
1 Using this Library
2 ------------------
3 To use this library you need to include the cgi.h include file with the
4 following command into your C programs:
5
6    #include <cgi.h>
7
8 Additionally you'll have to add the library libcgi.a to the linker,
9 either by modifying LDFLAGS in your makefiles or by adding `-lcgi' to
10 the appropriate commandline.
11
12 Test Suite
13 ----------
14
15 This library comes with a program called cgitest.c.  You can use it as
16 reference implementation for this CGI library.  Therefore it should be
17 included as source in your distribution.
18
19 If you want to test your forms you can use the following action.
20
21    <form action=/cgi-bin/cgitest/listall method=post>
22
23 The /listall target will display all environment variables, all CGI
24 variables and all HTTP Cookies that were transmitted.  This way you
25 can test your implementations quite easy.
26
27 Further Documentation
28 ---------------------
29
30
31   HTTP Return Codes
32
33     http://www.w3.org/Protocols/HTTP/HTRESP.html
34
35   HTTP Headers
36
37     http://www.w3.org/Protocols/HTTP/Object_Headers.html
38
39 Feedback
40 --------
41
42 If you have additions, questions or improvements please don't hesitate
43 to contact me.
44
45 Infodrom Oldenburg
46 Martin Schulze
47 joey@infodrom.north.de