header('Content-type: audio/x-wav'); header('Content-Disposition: attachment; filename="'.$file.'"'); readfile($file); echo $file;