Forum Moderators: open
When you do ordinary parsing by post or get, the form processor only needs to unencode the data and split it into key/value pairs. Normally this is done by a simple hand-written parsing routine.
For multipart form data, it first has to find the multipart boundary and split it into the various parts, and parse each one accordingly based on the mime type of that part. So plain text parts are parsed as normal, binary parts, such as uploads, are written to files.
The best example is the perl module CGI.pm, which is not part of the standard distribution - it can parse multipart form data.
...are you saying that if the web server doesn't allow forms with multi-part/form-data...
Well, no, what I'm saying is I have never seen a server that **can't** accept multi part form data, and have never heard of it being denied. There is probably a way, but what I'm saying is if you can't parse multi part form data, it's a function of the program or script it's being sent to.