send header using header function with content type of real player and then open a file using binary read file. Now read a file using read_file function. got the idea?
i have the script, but there will be no point to give you, because i want you to learn not just copy and paste again and again😉