Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16890 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99600 invoked by uid 1010); 24 Jun 2005 10:05:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99585 invoked from network); 24 Jun 2005 10:05:35 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 24 Jun 2005 10:05:35 -0000 X-Host-Fingerprint: 212.55.154.25 relay5.ptmail.sapo.pt Linux 2.4/2.6 Received: from ([212.55.154.25:36857] helo=sapo.pt) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 0A/AC-22648-BEADBB24 for ; Fri, 24 Jun 2005 06:05:32 -0400 Received: (qmail 23830 invoked from network); 24 Jun 2005 10:05:28 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.207) by relay5 with SMTP; 24 Jun 2005 10:05:28 -0000 Received: (qmail 22196 invoked from network); 24 Jun 2005 10:05:28 -0000 X-AntiVirus: PTMail-AV 0.3.85 Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[82.154.16.193]) (envelope-sender ) by mta12 (qmail-ldap-1.03) with SMTP for ; 24 Jun 2005 10:05:28 -0000 Message-ID: <007101c578a4$3f53bfb0$0100a8c0@pc07653> To: "Jochen Hansper" , References: <1119568750.15651.23.camel@mframe.test-lab> Date: Fri, 24 Jun 2005 11:05:27 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Subject: Re: [PHP-DEV] Re: httpOnly Cookies [tiny enhancement] From: nlopess@php.net ("Nuno Lopes") > You can find the patches for httpOnly session cookies against the PHP5 > CVS HEAD in the attachment. > Now also included is support for httpOnly cookies for PHP functions > setcookie() and setrawcookie(). > > bool setcookie ( string name [, string value [, int expire [, string path > [, string domain [, bool secure [, bool httponly]]]]] ) > bool setrawcookie ( string name [, string value [, int expire [, string > path [, string domain [, bool secure [, bool httponly]]]]] ) AFAIR, it was agreed not to add more parameters to these functions and overload the third parameter as an array (with new options, like a better expire option). Nuno