send HTTP_RANGE to a HTTP request

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I want a php script for this:

1. make a http request to a web page and send to that page HTTP_RANGE.
2. get headers from that page for testing.

$url = ' /';
$fp = fopen($url, 'r');
$meta_data = stream_get_meta_data($fp);
foreach ($meta_data['wrapper_data'] as $v)
    echo "$v\n"
the only thing I dont know, is how to send HTTP_RANGE to server

Site Timeline