}
if ( !empty ($_FILES['file']['name']) ) {
$uinsert = false;
$type = $_FILES['file']['type'];
$fname = escape($_FILES['file']['name'],'string');
$fname = str_replace(' ','',$fname);
if (
$type == 'application/mp3' OR
$type == 'application/mp3' OR
$type == 'application/mp3' OR
$type == 'application/wav' OR
$type == 'application/mp3' OR
$type == 'application/mp3' OR
$type == 'application/mp3'
) {
dies ist der code der für die erlaubten daietitypen verantwortlich ist...
ich denke dass das problem an dem 'application' liegt...
zu einer rar oder zip datei passt application aber was muss es bei einer mp3 oder wav datei sein??
Zuletzt modifiziert von beatcontrols am 28.08.2006 - 13:38:43