note 2692 modified in header by ronabop
| From: | ronabop@php.net | Date: | Sun, 01 Oct 2000 06:46:32 +0000 |
| Subject: | note 2692 modified in header by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5752@lists.php.net to get a copy of this message | ||
Outputting the full HTTP header as suggested in the documentation:
header("http/1.0 404 Not Found");
causes a 500 error, at least in the version of Apache I'm using (1.3.3). Instead, use the
Status header:
header("Status: 404 Not Found");
http://www.php.net/manual/function.header.php