ragazzi non riesco a far funzionare questo

Codice PHP:
<form method="POST" action="carica_musica.php">
    <label for="mp3">File musicale:</label>  <input type="file" id="mp3" name="mp3" />

    <input type="submit" name="submit" value="Carica Musica" />
</form>
<?php
$target 
"mp3/";
$target $target basename$_FILES['mp3']['name']) ;
$ok=1;
 
if (!(
$uploaded_type="audio/mpeg3")) {
echo 
"You may only upload MP3 files.
"
;
$ok=0;

 
//Here we check that $ok was not set to 0 by an error
if ($ok==0)
{
Echo 
"The file was not uploaded. Please try again.";
}
 
//If everything is ok we try to upload it
else
{
if(
move_uploaded_file($_FILES['uploaded']['tmp_name'], $target))
{
echo 
"The file "basename$_FILES['uploadedfile']['name']). " has been uploaded";
}
else
{
echo 
"Sorry, there was a problem uploading your file.";
}
}
?>
dove sbaglio?
grazie