Re: [PHP] Simple HTTP request, with "Range" header

2003-08-14 Thread Chris Shiflett
--- Curt Zirzow <[EMAIL PROTECTED]> wrote: > The problem with dealing with HTTP/1.1 is you have to make sure > your script is HTTP/1.1 compliant, which there are a lot of > gotchas to deal with. In most cases, extra features (or gotchas) in HTTP/1.1 have to be requested via one of the Accept-* hea

Re: [PHP] Simple HTTP request, with "Range" header

2003-08-14 Thread Analysis & Solutions
HEY KEN On Tue, Aug 12, 2003 at 09:30:21PM -0500, Ken wrote: > I imagine I would want to form a basic get header request, with URL, > whatever else I need, and a "Range:bytes=1000-2000" header. If I > understand correctly, the (HTTP/1.1) web server would return the > document I want, just b

[PHP] Simple HTTP request, with "Range" header

2003-08-14 Thread Ken
What I want to do is write something simple in PHP that makes an HTTP request, takes the data received, and passes it through. Specifically, I am hoping to retrieve just a part of a file from the web server. If I wanted the whole file I would just do header("Location:..."); I imagine I would w

Re: [PHP] Simple HTTP request, with "Range" header

2003-08-14 Thread Curt Zirzow
* Thus wrote Ken ([EMAIL PROTECTED]): > What I want to do is write something simple in PHP that makes an HTTP request, takes > the data received, and passes it through. Ok.. sounds good so far :) > Specifically, I am hoping to retrieve just a part of a file from the web server. If > I wanted

Re: [PHP] Simple HTTP request, with "Range" header

2003-08-14 Thread Chris Shiflett
--- Ken <[EMAIL PROTECTED]> wrote: > What I want to do is write something simple in PHP that makes > an HTTPrequest, takes the data received, and passes it through. > > Specifically, I am hoping to retrieve just a part of a file > from the web server. If I wanted the whole file I would just do > h