resume downloads: How can I get HTTP_RANGE???

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    Re: resume downloads: How can I get HTTP_RANGE???

    > > I try[color=blue][color=green]
    > > $http_range = $_ENV['HTTP_RANGE'];
    > > $http_range = $_COOKIE['HTTP_RANGE'];
    > > but no result ;-([/color]
    >
    > How about:
    >
    > $_SERVER['HTTP_RANGE'][/color]

    I apologize for my stupidity ;-)


    Leave a comment:


  • Justin Koivisto
    Guest replied
    Re: resume downloads: How can I get HTTP_RANGE???

    <- Chameleon -> wrote:
    [color=blue]
    > 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 ;-([/color]

    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 - spam@koivi.com
    PHP POSTERS: Please use comp.lang.php for PHP related questions,
    alt.php* groups are not recommended.

    Leave a comment:


  • Eric Veltman
    Guest replied
    Re: resume downloads: How can I get HTTP_RANGE???

    Hello,

    - Chameleon - wrote:
    [color=blue]
    > 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 ;-([/color]

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

    Best regards,

    Eric

    Leave a comment:


  • Guest's Avatar
    Guest started a topic resume downloads: How can I get HTTP_RANGE???

    resume downloads: How can I get HTTP_RANGE???

    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


Working...