function PhpUploader_GetQSD($name) { $val = @$_GET[$name]; if (!$val) { return null; } $val = str_replace("\\'", "'", $val); return PhpUploader_Unescape($val); }
function PhpUploader_GetFileName($file) { $str = PhpUploader_GetQSD("_VFN"); if ($str) { if (substr($str, 0, 1) == ".") { $str = "uploadedfile" + $str; } return $str; } return PhpUploader_Unescape($file["name"]); }