Is it possible to add a 404 Not Found error message to a page so that Google Crawler knows that it's a non-existent page, when output is already made to the browser?
Using the code below is not an option, since it results in a "Can not modify headers" error:
header("HTTP/1.0 404 Not Found");