Home >Backend Development >PHP Tutorial >PHP 无法获取range头信息

PHP 无法获取range头信息

WBOY
WBOYOriginal
2016-06-20 12:34:291195browse

Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:zh-CN,zh;q=0.8
Connection:keep-alive
Host:192.168.47.131
pass:d3040fb686f66665dcbfbd7132cb1134
path:/cdn/video/3/9/static/socket.txt
Range:bytes=10-99
user:17fed2b61aad405194d81ba4e9f16161
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36

以上是http请求的信息
server 环境 nginx+php-cgi+linux
我在php中怎么无法获取$_SERVER['HTTP_RANGE']
$_SERVER['HTTP_RANGE']一直是空的
各位这个怎么解决呢 


回复讨论(解决方案)

我的头信息里面连range 都没有你的怎么出来的

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn