Formparse
目次
2006/08/26 Update
2002/08/30
Usage
formparse [-r] [-o dir] [query]
Description
This program analyzes query that is based on x-www-form-urlencoded format and places the results in the directory [default=/tmp
].The meaning of options and argument are as follows:
-r
option removes CR code.
The removal is not applied to "multipart/form-data"as it should be.
-o dir
specify the directory to put the result [default=/tmp
]
Note that Pegasus "/tmp
" is ramfs.
- if
query
is omitted, then formparse readquery
from stdin.
This is a regular usage for POST method.
formparse
creates files shown below:/tmp/name/0 /tmp/name/1 /tmp/name/2 ... /tmp/name/clonewhere
name
is a variable name, under which files named 0
, 1
, ..., are created; the contents are the values of the variable.The name is supposed to be alpha numeric.
Formparse partially support "multipart/form-data". The limitation is it can receive only one file. Please consult "webm" for the usage.