Re: HTTP status code
| From: | Jasper Bryant-Greene | Date: | Thu, 30 Mar 2006 20:40:27 +0000 |
| Subject: | Re: HTTP status code | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232946@lists.php.net to get a copy of this message | ||
In other words, if you want Firefox/Opera/etc to display something, you have to output something. Strange, that. :P
Jasper
Anthony Ettinger wrote:
Then it's working....FireFox, et. al. show you the server 404, IE on the otherhand has it's own 404 error page (for those newbies who don't know what a 404 is). You can disable it under IE options. On 3/30/06, Bronislav Klucka <konference@pro2-soft.com> wrote:-- Jasper Bryant-Greene General Manager Album Limited http://www.album.co.nz/ 0800 4 ALBUM jasper@album.co.nz 021 708 334Yes, I do... B. Anthony Ettinger wrote:-- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.htmlAre you seeing the IE-specific 404 page? The one that looks like this: http://redvip.homelinux.net/varios/404-ie.jpg On 3/30/06, Bronislav Klucka <konference@pro2-soft.com> wrote:-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpHi, I'm using following construction to send http status code -------------- header('HTTP/1.1 404 Not Found'); header("Status: 404 Not Found"); exit; -------------- MSIE displays "Page not found", but FireFox and Opera don't display anything. Just blank page with no text... full headers sent by this script (and server itself) are: -------------- Date: Thu, 30 Mar 2006 18:02:49 GMT Server: Apache/2.0.55 (Debian) PHP/4.4.0-4 mod_ssl/2.0.55 OpenSSL/0.9.8a X-Powered-By: PHP/5.1.2 Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html 404 Not Found -------------- can anyone tell me, why those two browsers are not affected? Brona -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html