$error) { if ($error == 0 && $_FILES['file']['size'][$i] <= $max_size) { $file_ext = pathinfo($_FILES['file']['name'][$i],PATHINFO_EXTENSION); $file_name = basename($_FILES['file']['name'][$i],'.'.$file_ext); if (in_array(strtolower($file_ext), $allowed)) { $new_base = $_FILES['file']['name'][$i]; $t = 1; while (file_exists($uploaddir.$new_base)) { $new_base = $file_name.'['.$t.'].'.$file_ext; $t++; } if (move_uploaded_file($_FILES['file']['tmp_name'][$i],$uploaddir.$new_base)) { chmod($uploaddir.$new_base, 0644); header('Location: '.$success_url); } } } } } ?> NTARC
© Copyright NTARC Inc 2018
Weather information supplied by Willy Weather
TEST PAGE
VK7 Amateur News Broadcasts
(MP3 Format)