Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16911 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21779 invoked by uid 1010); 26 Jun 2005 20:22:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21764 invoked from network); 26 Jun 2005 20:22:58 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 26 Jun 2005 20:22:58 -0000 X-Host-Fingerprint: 195.28.69.139 mail.jobtion.com Linux 2.4 w/o timestamps Received: from ([195.28.69.139:46435] helo=sparky.datcon.sk) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 41/54-00424-1AE0FB24 for ; Sun, 26 Jun 2005 16:22:57 -0400 Received: from localhost (localhost [127.0.0.1]) by sparky.datcon.sk (Postfix) with ESMTP id 371B720818 for ; Sun, 26 Jun 2005 22:22:54 +0200 (CEST) Received: from sparky.datcon.sk ([127.0.0.1]) by localhost (sparky [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29781-03-2 for ; Sun, 26 Jun 2005 22:22:54 +0200 (CEST) Received: from [172.16.71.217] (adsl90.212-5-195.telecom.sk [212.5.195.90]) by sparky.datcon.sk (Postfix) with ESMTP id 0D36A200D4 for ; Sun, 26 Jun 2005 22:22:53 +0200 (CEST) Message-ID: <42BF0EC0.5050901@kmit.sk> Date: Sun, 26 Jun 2005 22:23:28 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050518 X-Accept-Language: sk, en MIME-Version: 1.0 To: internals@lists.php.net References: <1119816599.7082.37.camel@mframe.test-lab> In-Reply-To: <1119816599.7082.37.camel@mframe.test-lab> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at datcon.sk Subject: Re: [PHP-DEV] httpOnly Cookies [tiny enhancement] From: ondrej@kmit.sk (=?UTF-8?B?T25kcmVqIEl2YW5pxI0=?=) Jochen Hansper wrote: > The indexed array 'parameters' is expected to be: > > array( {int|string} expires [, string path [, domain [, bool secure [,bool httponly]]]] ) Why not like this? array( 'expires' => ..., 'path' => ..., 'domain => ..., 'secure' => ..., 'httponly' => ... ); I think, it will be more readable. -- Ondrej Ivanic (ondrej@kmit.sk)