questo codice da questo errore:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /membri/mamo139/download.php on line 14
non riesco a capire come mai... grazie
codice:
<?
if(isset($_GET['id']))
$get_id = ''.$_GET['id'];
else exit(0);
$get_id = str_replace('/','',$get_id);
$get_id = str_replace('\','',$get_id);
$file = "database/".$get_id;
$filename = $get_id;
header('Content-type: application/zip');
header('Content-Disposition: attachment; filename="'.$filename.'"');
readfile($file);
?>