CVS update: php3/functions

From: Date: Wed, 14 Apr 1999 11:53:20 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-5052@lists.php.net to get a copy of this message
Date: Wednesday April 14, 1999 @ 7:53 Author: fmk Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv15676 Modified Files: head.c Log Message: _php3_SetCookie() would not work on appache Index: php3/functions/head.c diff -c php3/functions/head.c:1.116 php3/functions/head.c:1.117 *** php3/functions/head.c:1.116 Wed Apr 14 07:09:50 1999 --- php3/functions/head.c Wed Apr 14 07:53:20 1999 *************** *** 26,32 **** | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ ! /* $Id: head.c,v 1.116 1999/04/14 11:09:50 fmk Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif --- 26,32 ---- | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ ! /* $Id: head.c,v 1.117 1999/04/14 11:53:20 fmk Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif *************** *** 444,450 **** char *r, *dt; #endif #if APACHE ! php3_PushCookieList(estrdup(name), estrdup(value), expires, estrdup(path), estrdup(domain), secure); #else if (name) len += strlen(name); if (value) len += strlen(value); --- 444,454 ---- char *r, *dt; #endif #if APACHE ! if (name) name = estrdup(name); ! if (value) value = estrdup(value); ! if (path) path = estrdup(path); ! if (domain) domain = estrdup(domain); ! php3_PushCookieList(name, value, expires, path, domain, secure); #else if (name) len += strlen(name); if (value) len += strlen(value); -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5052) next »