• Nem
  • Guru
  • Guru
  • Nem
  • Posts: 1243
  • Loc: UK

Post 3+ Months Ago

If i were to upload files and send text input, what would the enctype be?
  • Mas Sehguh
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1851

Post 3+ Months Ago

http://www.webdevtips.com/webdevtips/ht ... _tag.shtml

enctype : Normally you can omit this attribute but there are certain cases where you need to set a value for it.

enctype="application/x-www-form-urlencoded" This is the default content type used if none specified

enctype="multipart/form-data" This must be used if you allow uploading of files for example INPUT TYPE="file"

enctype="text/plain" If you have action="mailto:you@youremail.address" then you must specify text/plain for the email to be legible.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 21 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.