File: readme

package info (click to toggle)
cgilib 0.5-4
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 140 kB
  • ctags: 60
  • sloc: ansic: 652; makefile: 97; sh: 10
file content (50 lines) | stat: -rw-r--r-- 1,260 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Using this Library
------------------
To use this library you need to include the cgi.h include file with the
following command into your C programs:

   #include <cgi.h>

Additionally you'll have to add the library libcgi.a to the linker,
either by modifying LDFLAGS in your makefiles or by adding `-lcgi' to
the appropriate commandline.

Test Suite
----------

This library comes with a program called cgitest.c.  You can use it as
reference implementation for this CGI library.  Therefore it should be
included as source in your distribution.

If you want to test your forms you can use the following action.

   <form action=/cgi-bin/cgitest/listall method=post>

The /listall target will display all environment variables, all CGI
variables and all HTTP Cookies that were transmitted.  This way you
can test your implementations quite easy.

Further Documentation
---------------------

  The CGI Library

    http://www.infodrom.org/projects/cgilib/

  HTTP Return Codes

    http://www.w3.org/Protocols/HTTP/HTRESP.html

  HTTP Headers

    http://www.w3.org/Protocols/HTTP/Object_Headers.html

Feedback
--------

If you have additions, questions or improvements please don't hesitate
to contact me.

Infodrom Oldenburg
Martin Schulze
joey@infodrom.org