Parsing HTTP_RANGE header in PHP

前端 未结 3 885
广开言路
广开言路 2020-12-03 02:28

Is there an existing way to parse the HTTP_RANGE header correctly in PHP? Thought I\'d ask here before re-inventing the wheel.

I am currently using

3条回答
  •  不思量自难忘°
    2020-12-03 02:54

    There's a snippet implementing HTTP range support on the fread() page:

    http://www.php.net/manual/en/function.fread.php#84115

提交回复
热议问题