note 64869 added to function.getallheaders
| From: | nikolay at controlstyle dot ru | Date: | Sat, 22 Apr 2006 09:25:23 +0000 |
| Subject: | note 64869 added to function.getallheaders | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-108996@lists.php.net to get a copy of this message | ||
For getting "If-Modified-Since" and "If-None-Match" headers, when PHP is not
installed as an Apache module use this solution (in .htaccess file):
RewriteEngine On
RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
RewriteRule .* - [E=HTTP_IF_NONE_MATCH:%{HTTP:If-None-Match}]
--
More info at
RU: http://www.controlstyle.ru/
articles/programming/text/if-mod-since-php/
EN: http://www.controlstyle.com/
articles/programming/text/if-mod-since-php/
----
Server IP: 195.54.192.44
Probable Submitter: 82.193.155.226
----
X-Spam-Status: No, hits=3.8 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
UPPERCASE_25_50 autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.getallheaders.php
Edit -- http://master.php.net/note/edit/64869
Del: integrated -- http://master.php.net/note/delete/64869/integrated
Del: useless -- http://master.php.net/note/delete/64869/useless
Del: bad code -- http://master.php.net/note/delete/64869/bad+code
Del: spam -- http://master.php.net/note/delete/64869/spam
Del: non-english -- http://master.php.net/note/delete/64869/non-english
Del: in docs -- http://master.php.net/note/delete/64869/in+docs
Del: other reasons-- http://master.php.net/note/delete/64869
Reject -- http://master.php.net/note/reject/64869
Search -- http://master.php.net/manage/user-notes.php