[PHP4BETA] CVS update: php4/ext/hyperwave
| From: | zeev | Date: | Sun, 09 May 1999 08:47:52 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/hyperwave | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-709@lists.php.net to get a copy of this message | ||
Date: Sunday May 9, 1999 @ 4:47
Author: zeev
Update of /repository/php4/ext/hyperwave
In directory php:/tmp/cvs-serv25538/ext/hyperwave
Modified Files:
hw.c hw.h
Log Message:
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
Index: php4/ext/hyperwave/hw.c
diff -u php4/ext/hyperwave/hw.c:1.6 php4/ext/hyperwave/hw.c:1.7
--- php4/ext/hyperwave/hw.c:1.6 Sun May 2 15:54:02 1999
+++ php4/ext/hyperwave/hw.c Sun May 9 04:47:52 1999
@@ -23,7 +23,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: hw.c,v 1.6 1999/05/02 19:54:02 zeev Exp $ */
+/* $Id: hw.c,v 1.7 1999/05/09 08:47:52 zeev Exp $ */
#if COMPILE_DL
#include "dl/phpdl.h"
#endif
@@ -1531,7 +1531,7 @@
getenv("QUERY_STRING"));
#else
sprintf(cgi_env_str, "CGI_REQUEST_METHOD=%s\nCGI_PATH_INFO=%s\nCGI_QUERY_STRING=%s",
- request_info.request_method,
+ SG(request_info).request_method,
SG(request_info).request_uri,
SG(request_info).query_string);
#endif
@@ -1783,7 +1783,7 @@
getenv("QUERY_STRING"));
#else
sprintf(cgi_env_str, "CGI_REQUEST_METHOD=%s\nCGI_PATH_INFO=%s\nCGI_QUERY_STRING=%s",
- request_info.request_method,
+ SG(request_info).request_method,
SG(request_info).request_uri,
SG(request_info).query_string);
#endif
@@ -2959,7 +2959,7 @@
/* }}} */
-void php3_info_hw()
+void php3_info_hw(ZEND_MODULE_INFO_FUNC_ARGS)
{
php3_printf("HG-CSP Version: 7.17");
}
Index: php4/ext/hyperwave/hw.h
diff -u php4/ext/hyperwave/hw.h:1.1 php4/ext/hyperwave/hw.h:1.2
--- php4/ext/hyperwave/hw.h:1.1 Wed Apr 21 19:11:20 1999
+++ php4/ext/hyperwave/hw.h Sun May 9 04:47:52 1999
@@ -23,7 +23,7 @@
*/
-/* $Id: hw.h,v 1.1 1999/04/21 23:11:20 ssb Exp $ */
+/* $Id: hw.h,v 1.2 1999/05/09 08:47:52 zeev Exp $ */
#ifndef _HW_H
#define _HW_H
@@ -109,7 +109,7 @@
extern void php3_hw_objrec2array(INTERNAL_FUNCTION_PARAMETERS);
extern void php3_hw_array2objrec(INTERNAL_FUNCTION_PARAMETERS);
extern void php3_hw_connection_info(INTERNAL_FUNCTION_PARAMETERS);
-extern void php3_info_hw(void);
+extern void php3_info_hw(ZEND_MODULE_INFO_FUNC_ARGS);
extern void php3_hw_getsrcbydestobj(INTERNAL_FUNCTION_PARAMETERS);
extern void php3_hw_getrellink(INTERNAL_FUNCTION_PARAMETERS);
extern void php3_hw_dummy(INTERNAL_FUNCTION_PARAMETERS);
--
PHP 4 Beta