iliaa Thu May 13 13:21:42 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/sapi/isapi php4isapi.c Log: MFH: Make isapi more compatible with apache sapis as far as the creation $_COOKIE super-global and various $_SERVER values. http://cvs.php.net/diff.php/php-src/sapi/isapi/php4isapi.c?r1=1.92.2.8&r2=1.92.2.9&ty=u Index: php-src/sapi/isapi/php4isapi.c diff -u php-src/sapi/isapi/php4isapi.c:1.92.2.8 php-src/sapi/isapi/php4isapi.c:1.92.2.9 --- php-src/sapi/isapi/php4isapi.c:1.92.2.8 Mon Feb 23 14:15:05 2004 +++ php-src/sapi/isapi/php4isapi.c Thu May 13 13:21:42 2004 @@ -354,7 +354,7 @@ efree(tmp_variable_buf); } } - return NULL; + return ""; } @@ -490,6 +490,8 @@ } else { efree(variable_buf); } + } else { /* for compatibility with Apache SAPIs */ + php_register_variable(*p, "", track_vars_array TSRMLS_CC); } p++; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php