...

View Full Version : access to 'If-Modified-Since' header



looka
01-01-2006, 07:42 PM
how can i access to mentioned header, sent from a user?
so i can determine whether send him back 200 OK or 304 not modified..

or is there any other way?

firepages
01-02-2006, 03:19 AM
your web-server should handle this for you ? however ..



<?php
print_r(apache_request_headers());
?>


should show you all the client headers (was named getallheaders() prior to PHP 4.3.0)

looka
01-10-2006, 12:27 PM
and how can i remove header:)?

i would like to have 'write' access:)

marek_mar
01-10-2006, 01:41 PM
theres also list_headers() (http://www.php.net/list_headers)
but you won't get write access to modify headers. You still can send a new header.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum