note 52353 added to function.header
| From: | pornel at despammed dot com | Date: | Thu, 28 Apr 2005 15:00:45 +0000 |
| Subject: | note 52353 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88695@lists.php.net to get a copy of this message | ||
Please read caching tutorial and test scripts with: http://www.web-caching.com/cacheability.html
before copying & pasting all "urban legend" caching headers.
Another note:
Content-Disposition is non-standard header and sending files with readfile() doesn't support
resuming, caching and might be problematic with large files. In some cases it's better to use
Apache mod_rewrite instead.
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52353
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52353&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52353&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52353&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52353&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52353&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52353&report=yes
Search -- http://master.php.net/manage/user-notes.php