note 94311 deleted from function.header by danbrown

From: Date: Wed, 28 Oct 2009 16:26:21 +0000
Subject: note 94311 deleted from function.header by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-162195@lists.php.net to get a copy of this message
Note Submitter: guy.paddock AT gmail DOT com ---- Yet another revision... it looks like the following code does *not* change the status code at all with PHP running as an Apache module: <?php header('Status: 403'); ?> Yet, under FastCGI, it sends the 403 response code, as desired. It looks like the most compatible way is to use: <?php header(' ', true, 403); ?> That works on both FastCGI and mod_php.

« previous php.notes (#162195) next »