Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29127 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24450 invoked by uid 1010); 1 May 2007 11:56:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24435 invoked from network); 1 May 2007 11:56:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 May 2007 11:56:04 -0000 X-Host-Fingerprint: 80.123.98.46 unknown Received: from [80.123.98.46] ([80.123.98.46:22102] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/08-40722-2DA27364 for ; Tue, 01 May 2007 07:56:04 -0400 Message-ID: To: internals@lists.php.net Date: Tue, 01 May 2007 13:55:53 +0200 User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 References: <000c01c78bd4$e3534000$0201a8c0@VEGA> In-Reply-To: <000c01c78bd4$e3534000$0201a8c0@VEGA> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Posted-By: 80.123.98.46 Subject: Re: [PHP-DEV] Setting HTTP results code vs. HTTP type From: mike@php.net (Michael Wallner) Uwe Schindler wrote: > What we need is: > 2) a function to simply set the status code without changing anything other. There's a (external) function: http://php.net/manual/en/function.http-send-status.php ...and for the unlucky: header("Dummy:", true, $status_code); But if your patch makes sense, I'm all for it! ;) Regards, -- Michael