cvs: php4 /ext/standard head.c

From: Date: Fri, 17 May 2002 07:10:19 +0000
Subject: cvs: php4 /ext/standard head.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11969@lists.php.net to get a copy of this message
jwoolley Fri May 17 03:10:19 2002 EDT Modified files: /php4/ext/standard head.c Log: Only the last cookie was getting set. (You can have more than one Set-Cookie: header, as indicated by http://wp.netscape.com/newsref/std/cookie_spec.html.) PR: 16626 Submitted by: regina@hitel.net Index: php4/ext/standard/head.c diff -u php4/ext/standard/head.c:1.55 php4/ext/standard/head.c:1.56 --- php4/ext/standard/head.c:1.55 Thu Feb 28 03:26:45 2002 +++ php4/ext/standard/head.c Fri May 17 03:10:19 2002 @@ -15,7 +15,7 @@ | Author: Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ -/* $Id: head.c,v 1.55 2002/02/28 08:26:45 sebastian Exp $ */ +/* $Id: head.c,v 1.56 2002/05/17 07:10:19 jwoolley Exp $ */ #include <stdio.h> #include "php.h" @@ -121,7 +121,7 @@ strcat(cookie, "; secure"); } - return sapi_add_header(cookie, strlen(cookie), 0); + return sapi_add_header_ex(cookie, strlen(cookie), 0, 0 TSRMLS_CC); }

« previous php.cvs (#11969) next »