Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2008
    Location
    Northern Ireland
    Posts
    167
    Thanks
    12
    Thanked 6 Times in 6 Posts

    multipart/form-data best practice

    I just wanted to ask for an opinion.

    Is there anything wrong with declaring a form that will not be used in uploading anything as enctype="multipart/form-data"

    I am taking over a project that needs one form to be an upload form, but all the forms until now are automatically generated, and if possible I would like to keep using the methods already made, which would mean editing whatever makes these forms to always make them include enctype="multipart/form-data"

    Cheers.

  • #2
    Regular Coder
    Join Date
    Sep 2008
    Location
    Oklahoma
    Posts
    249
    Thanks
    11
    Thanked 13 Times in 13 Posts
    i use enctype="multipart/form-data" on my contact form at http://www.owt200x.us/contactform and it doesnt have an upload slot (unless needed) and it works fine with enctype="multipart/form-data"


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •