Vote count:
0
I have the problem that the filesize is always unknown, even if the content length is set.
Example result from var_dump(headers_list())
array(13) {
[0]=>
string(38) "Expires: Thu, 19 Nov 1981 08:52:00 GMT"
[1]=>
string(77) "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
[2]=>
string(16) "Pragma: no-cache"
[3]=>
string(14) "Server: Apache"
[4]=>
string(20) "Accept-Ranges: bytes"
[5]=>
string(23) "Content-Type: video/mp4"
[6]=>
string(44) "Last-Modified: Wed, 13 Nov 2013 12:33:02 GMT"
[7]=>
string(51) "ETag: "fd74b05b3fd7dabdf26da16a1ba968e4:1384345982""
[8]=>
string(35) "Date: Thu, 03 Apr 2014 23:18:42 GMT"
[9]=>
string(17) "Connection: close"
[10]=>
string(173) "Set-Cookie: aka_debug=cpcode:133150~clientip:75.98.175.81~ghostip:64.208.186.105~requestid:d3d3709a~time:1396567122~ghostforwardip:10.208.186.92~edgecache:cache-miss; path=/"
[11]=>
string(25) "Content-Length: 142671609"
[12]=>
string(116) "Content-Disposition: attachment; filename="John Lewis: Behind The Scenes -The Bear & The Hare (with Interviews).mp4""
}
What could be the problem?
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire