Just so there is no confusion here is my php:
if (file_exists($filename)) {
include($page.".php");
$page1 = new $page;
}else {
include("Error.php");
$page1 = new Error;
header('HTTP/1.1 404 Not Found');
}
Is this what you guys are getting at? That I do actually need to specify the header is a 404?
I added the header and now my HTTP header looks like this:
[
localhost...]
GET /WebFrame/Page4456.html HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cache-Control: max-age=0
HTTP/1.1 404 Not Found
Date: Thu, 18 Mar 2010 20:04:05 GMT
Server: Apache/2.2.11 (Win32) PHP/5.2.9-1
X-Powered-By: PHP/5.2.9-1
Content-Length: 1675
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html