应该是你的php文件有问题,你不用播放器直接下载下来的是mp3文件吗?

解决方案 »

  1.   

    既然有id了。那就靠id来调用了。
      

  2.   

    直接下载下来的居然是php后缀。可见是发送的header没有成功。我是这样发送的: $mime_type="application/octetstream";
    header('Content-Type: ' . $mime_type);
    header("Content-Disposition: inline; filename=\"$row[name].$row[kind]\"");
    header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
    header('Pragma: public');