more bugfixes

The option "enc_type" replaced with "enctype" as the function expects it.
Removed empty concatenation

In submit.php the modifications are on the following lines: 118, 119, 174, 175, 276, 277
(github display it incorrectly)