File: readme

package info (click to toggle)
cgilib 0.6-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, lenny, squeeze, stretch, wheezy
  • size: 196 kB
  • ctags: 80
  • sloc: ansic: 1,214; makefile: 96; sh: 10
file content (108 lines) | stat: -rw-r--r-- 3,026 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Using this Library
------------------

To use this library you need to include the cgi.h include file with
the following expression 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 Makefile or by adding `-lcgi' to
the appropriate commandline.


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

This library comes with a test suite both to demonstrate its features
and to help you understand how it works.  The respective program is
called cgitest.c.  You can use it as reference implementation for this
CGI library.  It can also be used to debug the library by increasing
its debug level.  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, all HTTP Cookies and refer to all files that were
transmitted.  This way you can test your own implementations quite
easy.


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

This section will refer to a number of URLs that document how this
library and used protocols work

  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


Development
-----------

Development of this library takes place in a public CVS repository.
This offers a way to do versioning and provide a history for all files
and changes.  At any time it is possible to restore an older version,
partially or in total.  Additionally, lean patches can be applied and
reverted.

Log in:

cvs -d :pserver:anonymous@cvs.infodrom.org:/var/cvs/infodrom login

[Hit return]

Check out CVS HEAD:

cvs -d :pserver:anonymous@cvs.infodrom.org:/var/cvs/infodrom co cgilib


Mailing Lists
-------------

A mailing list dedicated to discussions about this library has been
created.  It is meant as a forum for users and developers of the
lightweight CGI library and applications that make use of it.

The lists address is <infodrom-cgilib@lists.infodrom.org>. 

To subscribe to this list,

 . send a mail to infodrom-cgilib-request@@lists.infodrom.org with the
   word "subscribe" as subject, or

 . send a mail to majordomo@@lists.infodrom.org with the body of
   "subscribe infodrom-cgilib".

The list is publicly archived at
<http://lists.infodrom.org/infodrom-cgilib/>.

A second mailing list exists as infodrom-cgilib-cvs on the same host.
Only CVS messages and differences are distributed there.  Whenever new
code is added to the CGI library, cvs generates a mail from these
changes which will be sent to this particular list.  Discussions
continue to take place on the first list.


Feedback
--------

If you have additions, questions or improvements please don't hesitate
to contact either the mailing list or me personally.

Infodrom Oldenburg
Martin Schulze
joey@infodrom.org