ciao a tutti,
ho un problema, non riesco a cancellare il file dal server:

Codice PHP:
<?
$dl 
"http://www.sito.it/upload/filesharing";
$absolute_path "/web/htdocs/www.sito.it/home/upload/filesharing";

$sql="DELETE FROM a_filesharing
            WHERE id_filesharing = '"
.$recordfilesharing."'";
$query=mysql_query($sql); 

$directory"$dl/$nomefilesharing"
unlink ($directory) or die('Impossibile eliminare il file: '.$nomefilesharing); 
?>


 <form enctype="multipart/form-data" name="form2" action="<?=$PHP_SELF?>" method="post">  


<input type="hidden" name="recordfilesharing" value="<?=$row['id_filesharing']?>">
<input type="hidden" name="nomefilesharing" value="<?=$row['file']?>">
<input name="submit" type="submit" class="pulsante" value="elimina">


  </form>
quando clicco su elimina mi da questo messaggio d'errore:


Warning: unlink(http://www.sito.it/upload/filesharing/butta.txt) [function.unlink]: No such file or directory in /web/htdocs/www.sito.it/home/pann_contr_comune/include_utente_query_ins_filesharing.php on line 87
Impossibile eliminare il file: butta.txt