Date: 11/29/00
- Next message: Sascha Schumann: "Re: [PHP-DEV] Two the same pids, possibe?"
- Previous message: Hartmut Holzgraefe: "Re: [PHP-DEV] Two the same pids, possibe?"
- In reply to: Jordan Russell: "Re: [PHP-DEV] PHP 4.0 Bug #8017: PHP ignores "If-Modified-Since" headers"
- Next in thread: Jordan Russell: "Re: [PHP-DEV] "If-Modified-Since" headers"
- Reply: Jordan Russell: "Re: [PHP-DEV] "If-Modified-Since" headers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
JR>> Sorry I'm not sure what you mean here... It would only have to watch for
JR>> *one* header -- Last-Modified. The web browser sends If-Modified-Since as
JR>> part of the HTTP request, so it will be available and ready before script
JR>> parsing begins.
No, you need to seek it out in web-server headers. Nothing is "available
and ready". On Apache this part is probably pretty easy, but it has to be
done anew for every SAPI module.
Also, I don't understand why at all PHP should go down to such a low-level
things. After all, it's webserver work. Each content handler should not
reinvent all HTTP mechanics.
Apache has a function for that, ap_scan_script_header_err_buff. But I
don't know where it fits in the SAPI. Anyone?
JR>> Well, I sincerely hope it is implemented. :) As I said before,
JR>> this "lack of functionality" hurts PHP's own web site too.
JR>> Whoever wrote http://www.php.net/include/shared-manual.inc went
JR>> to great lengths to calculate a Last-Modified date, when in
JR>> reality it is useless since PHP ignores If-Modified-Since. (I'm
Well, not exactly true. Last-Modified is used by caches even without If's.
-- Stanislav Malyshev, Zend Products Engineer stas <email protected> http://www.zend.com/ +972-3-6139665 ext.106-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sascha Schumann: "Re: [PHP-DEV] Two the same pids, possibe?"
- Previous message: Hartmut Holzgraefe: "Re: [PHP-DEV] Two the same pids, possibe?"
- In reply to: Jordan Russell: "Re: [PHP-DEV] PHP 4.0 Bug #8017: PHP ignores "If-Modified-Since" headers"
- Next in thread: Jordan Russell: "Re: [PHP-DEV] "If-Modified-Since" headers"
- Reply: Jordan Russell: "Re: [PHP-DEV] "If-Modified-Since" headers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

