Re: [PHP] Protecting Streaming Audio

2006-11-06 Thread Ed Lazor
use readfile to read the file and output it to the browser. I don't know the specific ones, but you'll need to also send headers that declare the file as streaming media. On Nov 4, 2006, at 10:08 PM, Adam Gittins wrote: Thanks. :) That's an idea... Few questions. Grab the file and sendt

Re: [PHP] Protecting Streaming Audio

2006-11-06 Thread Richard Lynch
On Fri, November 3, 2006 11:29 pm, Adam Gittins wrote: I have had a question that has been bugging me for a while now. Say that I need to have a members website. Which I want to protect streaming audio (Real, or Windows Media), now all the pages I can protect with a MYSQL DB and PHP.

Re: [PHP] Protecting Streaming Audio

2006-11-06 Thread Richard Lynch
On Mon, November 6, 2006 10:24 am, Ed Lazor wrote: use readfile to read the file and output it to the browser. I don't know the specific ones, but you'll need to also send headers that declare the file as streaming media. Alas, things get a bit more complicated than that, really... For

Re: [PHP] Protecting Streaming Audio

2006-11-06 Thread Adam Gittins
Thanks for that informative post. It really is a can of worms. How far to go with it is a good question.. Honesty, the glass in half full (No harm in thinking like that is there).. Sincerely, Adam On 11/7/06, Richard Lynch [EMAIL PROTECTED] wrote: On Mon, November 6, 2006 10:24 am, Ed Lazor

Re: [PHP] Protecting Streaming Audio

2006-11-04 Thread Ed Lazor
You put the data in a directory outside of the webspace and use PHP to grab the file and send it to someone. That way you're able to control access to the file. By webspace, I'm referring to the directories outside of the ones used to store and serve your webpages. This directory

Re: [PHP] Protecting Streaming Audio

2006-11-04 Thread Adam Gittins
Thanks. :) That's an idea... Few questions. Grab the file and sendt it to someone, that would work with a download but would it work with a streaming audio file, because that has to be opened in realOne player or windows media player? I was searching PHP.net documentation for a way of grabbing a

[PHP] Protecting Streaming Audio

2006-11-03 Thread Adam Gittins
Dear List, I have had a question that has been bugging me for a while now. Say that I need to have a members website. Which I want to protect streaming audio (Real, or Windows Media), now all the pages I can protect with a MYSQL DB and PHP. But when it comes to protecting a url of a file or

[PHP] Protecting Streaming Audio

2006-11-03 Thread Adam Gittins
Dear List, I have had a question that has been bugging me for a while now. Say that I need to have a members website. Which I want to protect streaming audio (Real, or Windows Media), now all the pages I can protect with a MYSQL DB and PHP. But when it comes to protecting a url of a file or