qDecoder CGI Examples

qDecoder is a CGI/FastCGI library for C/C++.

The qDecoder Project
https://github.com/wolkykim/qdecoder


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


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.

Example: download.c


Example: session.c


The qDecoder Project