Send browser a 404 not found header?

From: Date: Sat, 13 Jan 2001 23:49:05 +0000
Subject: Send browser a 404 not found header?
Groups: php.general 
Request: Send a blank email to php-general+get-34416@lists.php.net to get a copy of this message
Hi.. How can I send a browser a "404 not found" page? I tried putting this in a script: header("Status: 404 Not Found"); exit; before any other output, but i keep getting the standard page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD> <BODY></BODY></HTML> from php. any ideas? jamie burns.

« previous php.general (#34416) next »