Hi.
I found out that when one creates form which should upload files one
needs to use: enctype="multip art/form-data"
In other cases one needs to use:
enctype="applic ation/x-www-form-urlencoded"
However, what is still not clear to me is what value for enctype I need
to use if I want to create form which should both contains text fields
and form for files uploading.
To empirically find an answer on my question, I have created form which
contains only text fields and put there
enctype="applic ation/x-www-form-urlencoded".
I found no differences from form with default value for anctype. Even
if I put special symbols in text fields (such as &, %, ?, and so on).
What bad can happen with the usage of text fields in combination with
enctype="applic ation/x-www-form-urlencoded"?
I found out that when one creates form which should upload files one
needs to use: enctype="multip art/form-data"
In other cases one needs to use:
enctype="applic ation/x-www-form-urlencoded"
However, what is still not clear to me is what value for enctype I need
to use if I want to create form which should both contains text fields
and form for files uploading.
To empirically find an answer on my question, I have created form which
contains only text fields and put there
enctype="applic ation/x-www-form-urlencoded".
I found no differences from form with default value for anctype. Even
if I put special symbols in text fields (such as &, %, ?, and so on).
What bad can happen with the usage of text fields in combination with
enctype="applic ation/x-www-form-urlencoded"?
Comment