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

It is only communication for qDecoder developers that is a qDecoder mailing list. Please join our mailing list, if you interest in CGI programming using qDecoder. To subscribe qDecoder mailing list send mail to majordomo@qDecoder.org with "subscribe qDecoder" in the body(not subject) of the message. Mailing-list archive can be founded at here.

### Example: fetch.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 (Simple version for uploading small size of file)

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: uploadprogress.c (Advanced version for uploading huge size of file)

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. If you want to activate this mode, please see this HTML source for hint.

### Example: download.c

[Download example]

### Example: streamedit.c, Parsed HTML files

Name:
Hobby:

### Example: arglist.c

String:
Query:

### Example: session.c

[View Session Variables] [Destroy Session]

### Example: confparser.c, Parsed Configuration File

[View Parsed Results]

### Example: socket.c

Hostname: