By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,198 Members | 951 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,198 IT Pros & Developers. It's quick & easy.

resume downloads: How can I get HTTP_RANGE???

P: n/a
Well, I read RFC, but I have a problem now:
How can I get the HTTP_RANGE enviroment variable from client to resume a
download? (GetRight)

I try
$http_range = $_ENV['HTTP_RANGE'];
$http_range = $_COOKIE['HTTP_RANGE'];
but no result ;-(

Please Help!

Regards
Gessos Paul
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hello,

- Chameleon - wrote:
Well, I read RFC, but I have a problem now:
How can I get the HTTP_RANGE enviroment variable from client to resume a
download? (GetRight)

I try
$http_range = $_ENV['HTTP_RANGE'];
$http_range = $_COOKIE['HTTP_RANGE'];
but no result ;-(


I think that the request headers are in $_SERVER.
Didn't try it though.

Best regards,

Eric
Jul 17 '05 #2

P: n/a
<- Chameleon -> wrote:
Well, I read RFC, but I have a problem now:
How can I get the HTTP_RANGE enviroment variable from client to resume a
download? (GetRight)

I try
$http_range = $_ENV['HTTP_RANGE'];
$http_range = $_COOKIE['HTTP_RANGE'];
but no result ;-(


How about:

$_SERVER['HTTP_RANGE']

This was covered here on Mar 11, 2003 inthe thread "HTTP_RANGE"
(http://groups.google.com is your friend.)

--
Justin Koivisto - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.

Jul 17 '05 #3

P: n/a
> > I try
$http_range = $_ENV['HTTP_RANGE'];
$http_range = $_COOKIE['HTTP_RANGE'];
but no result ;-(


How about:

$_SERVER['HTTP_RANGE']


I apologize for my stupidity ;-)
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.