>>170
$submitを4箇所でピック

<?php
list($_SERVER['REQUEST_URI'],$_SERVER['QUERY_STRING']) = explode("?",$_SERVER['REQUEST_URI']);
parse_str($_SERVER['QUERY_STRING']);
if($_POST['submit']){
         :
$submit = mb_convert_encoding($submit, "SJIS", "EUC-JP");
$submit1 = $submit;
         :
}
$submit2 = $submit;
switch($submit){ (ry }
$submit3 = $submit;
$filename =mb_convert_encoding($filename, "SJIS", "EUC-JP");
         :
         :
$submit4 = $submit;

---
これをhtml側に
print "$submit<br>$submit2<br>$submit3<br>$submit4<br>";

結論として、全てEUC-JP