PHP Code:
header('Content-type: audio/mpeg'); header('Content-disposition: attachment; filename='.seo_url($data['song_singer']."_-_".$data['song_name']).'.mp3');
readfile(URL($data['song_url']));
I'm using that code. But downloaded song cannot be player by some music players, such as Songbird, or on mobile phone.
What should i do ?
|