hallo,
also folgendes script
if ($_FILES['userfile']['tmp_name']<> 'none'){
$file1 = $_FILES['userfile']['name'];
$temp1 = $_FILES['userfile']['tmp_name'];
$path_parts = pathinfo($file1);
$filename1 = $anr.".".$path_parts["extension"];
if(decoct(fileperms($img_path_up))==40777){
if(@copy($temp1, $img_path_up.$filename1)){
}
}
}
Danke