Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31906 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67328 invoked by uid 1010); 25 Aug 2007 20:58:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 67313 invoked from network); 25 Aug 2007 20:58:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2007 20:58:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:22466] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/B4-14887-D0890D64 for ; Sat, 25 Aug 2007 16:58:55 -0400 Received: from [127.0.0.1] ([192.168.17.87]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 25 Aug 2007 13:58:51 -0700 Message-ID: <46D09808.3080006@zend.com> Date: Sat, 25 Aug 2007 13:58:48 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Ben Ramsey CC: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Aug 2007 20:58:51.0272 (UTC) FILETIME=[BD527880:01C7E75A] Subject: Re: [PHP-DEV] [PATCH] Addition of setcookie2() to support RFC 2965 From: stas@zend.com (Stanislav Malyshev) > Here is a patch I am submitting as a recommendation to implement a > setcookie2() function to support the Set-Cookie2 response header defined > in RFC 2965. I think setcookie2 can ve useful, but a function with 13 arguments is a monster. Especially that you may not use all of them. Maybe it's better to have them as an array of secondary parameters? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com