an appilication of ours uses an old forum management system.. if we go to the post message page, we have no option to attach file.. am trying to give attach file provision.. the form for post messages contains similar elements that are seen when you try to post in this w3schools forum.. the problem is for file upload, the form should have "enctype=multipart/form-data".. but my code shows error saying "Posted content type isn't multipart/form-data ".. so when shld or when shldn i use "enctype=multipart/form-data".. ?..can someone clear my doubts..