The qDecoder Project: qDecoder CGI Examples

# qDecoder CGI Examples

The qDecoder Project - Web Application Interface for C/C++
http://www.qDecoder.org

> Being a Web Application Interface for C/C++ use, qDecoder is a solution product for developers. The Query Fetch algorithm of qDecoder based on the linked-list provides transparency with low layers by the simple library interface regardless of COOKIE/GET/POST(including File Upload). Thus, it enables the web based software to be more intuitively designed and implemented. qDecoder is developed according to the free software model and is publicly distributed.

### 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

Hamburger Chicken Photato Coke Orange Juice

### 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]