'.Uploadslogo1.jpg'
1 $names1 = time().mt_rand(100,999).'.png'; 2 $path='.Uploadslogo\'.$names1; 3 $r=@move_uploaded_file($_FILES['material_name']['tmp_name'],$path);
$_FILES["Filedata"]["name"] = md5(microtime(1) . rand()) . $type;
if (IS_POST) {
//生成文件名
$names1 = time().mt_rand(100,99999).'.swf';
//文件生成路径
$path='Uploadslogos\'.$names1;
//上传文件的函数
$r=move_uploaded_file($_FILES["material_name"]['tmp_name'],".$path");