alright, I think the problem is caused by having the magic_quotes_gpc setting in your php.ini file enabled, this is a deprecated setting and should not be enabled on newer ph installation.
to work around the issue, try changing the code block i gave you earlier to:
<?php
if(sizeof($_FILES) > 0) {
foreach($_FILES as $k => $v) {
$_FILES[$k] = str_replace(array("\\","'"), "", $v);
}
}
?>