passando per il counter non riesco a far "funzionare la funzione"
quindi l'ho sostituita inserendo in click.php4 una cosa diquesto tipo:
e nel file musica.html ho inserito dei link tipo questo:Codice PHP:
$path = $HTTP_GET_VARS['filepath'];
$file = basename($path);
$size = filesize($path);
header ("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=$file");
header("Content-Length: $size");
readfile($path);
la finestra "save as" si apre, il nome è giusto ma... il file pesa 0Kb. perchè?codice:interferenze.mp3
Provare per credere: http://www.ellissinelcerchio.net/musica.html
ciao
luca