Forum Moderators: coopster
header("HTTP/1.0 404 Not Found");
file_get_contents('404.html');
It works like a charm except in IE. IE displays its regular 404 page. Can I bypass this behaviour and still send a 404 response?
(I'm very sorry if this is a double post. I'm pretty sure something like this must exist in here, but all the google in the world couldn't help me find it ;) )
Besides, I don't want search engines to think that an erraneous url has valid content. my 404 page is not something I need listed and ranked in the search engines ;)
Ref: RFC-2616 Hypertext Transfer Protocol -- HTTP/1.1 [w3.org]
Jim