qDecoder CGI Examples

qDecoder is a development kit for C/C++ network programming includes CGI/FastCGI supports.

The qDecoder Project
http://www.qdecoder.org


Example: query.c

GET method: application/x-www-form-urlencoded
Type anything:
POST method: application/x-www-form-urlencoded
Type anything:
POST method: multipart/form-data
Type anything:


Example: cookie.c

[View Cookie Variables]


Example: multivalue.c

Kimchi Galbee Nangmuyn Bulgogi Bibimbap

Example: upload.c

Input text:
Select file:
qDecoder stores the binary data of uploaded file into memory. Then upload.c saves it into disk. All most case this is useful. And also this is default mode for multipart/form-data decoding.

Example: uploadfile.c

file mode example

Input text:
Select file:
Select file:
Select file:
qDecoder stores the binary data of uploaded file into disk directly on the fly. So qDecoder uses smaller memory to handle huge size of file.

progress mode example

Input text:
Select file:
Select file:
Select file:
This will display progress status window to the user. This is sub mode of file mode and called progress mode.

Example: download.c

[Download example]


Example: streamedit.c, streamedit.html.in

Name:
Hobby:

Example: session.c

[View Session Variables] [Destroy Session]

Example: config.c, config.conf, config_default.conf

[View Parsed Results]


Example: socket.c

Hostname:

Example: obstack.c

[View Results]

Example: hashtable.c

[View Results]
The qDecoder Project