Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- header "404 Not Found"


Nutter - 2:36 pm on Jan 29, 2008 (gmt 0)


Somewhere I read, and it makes sense, that the 404 page isn't included in that situation because to Apache it's not really a 404. The header is sent correctly to the browser, but since it's done at the PHP level and not the web server level Apache doesn't know about it so it doesn't send the 404 page. What I do is similar to an earlier thread and send the header, include my error page, and die()


Thread source:: http://www.webmasterworld.com/php/3560889.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com