. Added homepage to readme
[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   The CGI Library
31
32     http://www.infodrom.north.de/cgilib/
33
34   HTTP Return Codes
35
36     http://www.w3.org/Protocols/HTTP/HTRESP.html
37
38   HTTP Headers
39
40     http://www.w3.org/Protocols/HTTP/Object_Headers.html
41
42 Feedback
43 --------
44
45 If you have additions, questions or improvements please don't hesitate
46 to contact me.
47
48 Infodrom Oldenburg
49 Martin Schulze
50 joey@infodrom.north.de