I don't know regular expressions in PHP by the back of my hand but there has got to be a way to replace the following lines with just one line of code:
Code:
$fileupload_name = str_replace(" ","",$fileupload_name);
$fileupload_name = str_replace("%","",$fileupload_name);
$fileupload_name = str_replace("!","",$fileupload_name);
$fileupload_name = str_replace("@","",$fileupload_name);
$fileupload_name = str_replace("#","",$fileupload_name);
$fileupload_name = str_replace("~","",$fileupload_name);
$fileupload_name = str_replace("^","",$fileupload_name);
$fileupload_name = str_replace("&","",$fileupload_name);
$fileupload_name = str_replace("+","",$fileupload_name);
$fileupload_name = str_replace("=","",$fileupload_name);
Otherwise, nice job Herb