Re: [mp2] Help with sendfile and offset value

2004-02-26 Thread Andy Grundman
Geoffrey Young wrote: So, even if I am writing my own content out using sendfile, Apache will start it at the correct spot when it gets a Range request? yes. Awesome! Thank you so much...this is great. I am testing it by streaming an mp3 file and I am able to seek using Winamp to any point i

[mp2] Help with sendfile and offset value

2004-02-26 Thread Andy Grundman
I am writing a secure download ResponseHandler that sends a file to the user. I have simple sends working fine with sendfile($filename) but I also need to handle 206 Partial Content as the files I'm dealing with are big and may need to be resumed. I am picking up the HTTP Range header to find

Re: [mp2] Help with sendfile and offset value

2004-02-26 Thread Andy Grundman
Geoffrey Young wrote: Andy Grundman wrote: I am writing a secure download ResponseHandler that sends a file to the user. I have simple sends working fine with sendfile($filename) but I also need to handle 206 Partial Content as the files I'm dealing with are big and may need to be re