note 90043 added to function.fread
| From: | jordan314 at yahoo dot com | Date: | Thu, 02 Apr 2009 20:46:05 +0000 |
| Subject: | note 90043 added to function.fread | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152774@lists.php.net to get a copy of this message | ||
I had trouble getting PHP and fread to serve mp3s to an iphone using quicktime/mobilesafari until I
included all of these headers and their appropriate values:
Last-Modified:
ETag:
Accept-Ranges: bytes
Content-Length:
Connection: close
Content-Type: audio/mpeg
It worked with other browsers without Last-Modified and Etag, but the iphone required them.
----
Server IP: 208.69.120.35
Probable Submitter: 206.69.163.36
----
Manual Page -- http://www.php.net/manual/en/function.fread.php
Edit -- https://master.php.net/note/edit/90043
Del: integrated -- https://master.php.net/note/delete/90043/integrated
Del: useless -- https://master.php.net/note/delete/90043/useless
Del: bad code -- https://master.php.net/note/delete/90043/bad+code
Del: spam -- https://master.php.net/note/delete/90043/spam
Del: non-english -- https://master.php.net/note/delete/90043/non-english
Del: in docs -- https://master.php.net/note/delete/90043/in+docs
Del: other reasons-- https://master.php.net/note/delete/90043
Reject -- https://master.php.net/note/reject/90043
Search -- https://master.php.net/manage/user-notes.php