note 4684 deleted from function.header by jimw

From: Date: Wed, 31 Oct 2001 21:32:41 +0000
Subject: note 4684 deleted from function.header by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19732@lists.php.net to get a copy of this message
As said above, the function header("http/1.0 404 Not Found"); does not work. In fact, it only works when PHP is compiled as an Apache module (see source head.c) It is better to use header("status: 404 Not Found"); Because it always works whenever php is compiled as an Apache module or a standalone binary. (Applies to php up to 3.0.15, i have not tested the later versions) (remove the 'Z' in my email to answer me)

« previous php.notes (#19732) next »