• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multipart form data

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I just want to know what is multipart form data in Html Forms. I expect correct explanation. What is the relationship with file upload thing in form input?


Abu.A
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,

You must be aware that there are tow types of form content types:

1. application/x-www-form-urlencoded
2. multipart/form-data

A normal form, when not defined with any enctype (<form>) is "application/x-www-form-urlencoded"
This would serve most of your day-to-day web needs.

But if you want to send:

1. Large amount of Form Data
2. Non-Ascii Data
3. Binary Data (Files)

You "Should" use the enctype as "multipart/form-data"


Recomended further reading :

http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4

Cheers
Aneesh
 
Abubacker Siddik
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi aneesh,

Nice description..I got the point.

Thanks dude.


Abu.A
 
Aneesh Vijendran
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Abu.

Happy Hacking
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic