note 48567 added to function.readfile
| From: | JustinDearing at osu1 dot php dot net | Date: | Wed, 29 Dec 2004 23:38:19 +0000 |
| Subject: | note 48567 added to function.readfile | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-82472@lists.php.net to get a copy of this message | ||
Word for word copy of a comment on session_start() posted by Kevin. Might be relevant here.
If you're having a problem with a file download script not working with IE if you call
session_start() before sending the file, then try adding a session_cache_limiter() call before
session_start().
I use session_cache_limiter('none'), but 'public' and 'private' seem
to fix the problem too; use whichever suits your application.
----
Manual Page -- http://www.php.net/manual/en/function.readfile.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48567
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48567&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48567&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48567&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48567&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48567&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48567&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48567&report=yes
Search -- http://master.php.net/manage/user-notes.php