Commit Graph

67 Commits

Author SHA1 Message Date
Uwe Schindler
3fb36bf08e Add sapi.get_request_time() to NSAPI 2005-04-03 19:16:23 +00:00
Rasmus Lerdorf
fdaa130f3a Add the new request_time sapi struct entry to all the sapis. Some of these
may have ways of getting the request time without the extra syscall, but
for now let's just make sure we don't crash and people will eventually
fill these in where applicable.
2004-12-20 19:33:41 +00:00
Uwe Schindler
74fe4ec0cb changed order of processing of ini entries 2004-09-20 13:30:13 +00:00
Uwe Schindler
5e1f396849 Fixed bug #29805 (HTTP Authentication Issues) 2004-09-15 21:28:30 +00:00
Uwe Schindler
3bb7e73656 replace strncpy with strlcpy 2004-06-26 10:30:07 +00:00
Uwe Schindler
8327d4e2bd Addendum to bug #28878: change ini keys as PHP_INI_SYSTEM
Also: Adding "bucket" parameter to non-ini-keys, Elemination of double CONTENT_TYPE/_LENGTH environment variables
2004-06-23 13:02:01 +00:00
Uwe Schindler
e276023d82 Fix bug #28878: php.ini values in php5_execute 2004-06-22 15:37:40 +00:00
Uwe Schindler
b39a1e5195 Security fix: Put '\0' string termination before loop 2004-05-03 12:23:25 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Uwe Schindler
844d63081c remove revision tag from module version entry 2003-12-12 16:21:28 +00:00
Uwe Schindler
d3d94ff2f3 fix header handler 2003-10-31 17:31:46 +00:00
Uwe Schindler
4dca199a98 Send correct default content type from php.ini not static text/html (important for other charsets than iso-8859-1) 2003-10-31 12:20:33 +00:00
Uwe Schindler
294fcddc0e Give user the chance to support nsapi_virtual() in newer servers by adding parameter server_lib to php5_init (windows only) 2003-08-04 12:46:03 +00:00
Andrey Hristov
a0ad4f949e Removed the unnecessary check of array_init() return value. 2003-08-01 11:09:11 +00:00
Uwe Schindler
3fbe69f49a Possibility to use php5_execute to display server error pages or directory listing pages 2003-07-24 17:40:40 +00:00
Uwe Schindler
17c02dd9d4 some code cleanups 2003-07-21 14:20:47 +00:00
Uwe Schindler
72aa28d0c3 safe mode fix 2003-07-15 22:19:00 +00:00
Uwe Schindler
e3a55ba297 Make virtual() an alias for nsapi_virtual() -- better for docs/naming in future 2003-07-15 17:30:33 +00:00
Uwe Schindler
948476bd45 rename functions to php5_* 2003-07-02 22:39:37 +00:00
Uwe Schindler
2f280dcd55 prevent user from making nested PHP requests using virtual() 2003-07-02 13:39:41 +00:00
Edin Kadribasic
fa48ad6df3 Fixed ZTS build 2003-06-15 11:50:17 +00:00
Edin Kadribasic
045460edd3 No need for this in the HEAD branch 2003-06-15 11:48:47 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Uwe Schindler
827734280b Update of README for newer servers; apache-similar functions nsapi_request_headers and nsapi_response_headers with apache_* aliases; hide authorization-header in save mode. 2003-06-01 21:14:58 +00:00
Uwe Schindler
6aaa211e9c zend_alter_ini_entry now with PHP_INI_USER 2003-05-31 15:32:50 +00:00
Uwe Schindler
eeb7f4060e Disable virtual() if zlib.output_compression is turned on. Better detection of ns-httpdXX.dll 2003-05-30 23:39:15 +00:00
Uwe Schindler
c1b8e699e1 virtual() now works under windows, too 2003-05-30 13:15:22 +00:00
Uwe Schindler
499f902a30 fix of incomplete windows fix 2003-05-29 21:05:29 +00:00
Uwe Schindler
b13365a56b Changes for compilation under windows 2003-05-29 20:13:42 +00:00
Uwe Schindler
fe141ca1ac Added php.ini value: nsapi.read_timeout; Included the apache-like virtual() function to make sub-request on server (thanks to Chris Elving from Sun) 2003-05-29 12:24:28 +00:00
Uwe Schindler
1e4730fb70 Set exspected threads to tsrm_startup() to number of threads NSAPI returns for server 2003-05-20 11:19:01 +00:00
Uwe Schindler
6672f23a97 NSAPI SAPI sends now 404 if script not found and 500 if execution failed. Includes forgotten php4_close() function registration. Complete rewrite of php4_execute() 2003-05-19 21:29:41 +00:00
Uwe Schindler
2a90ecf4a3 Implement feature request #8879: Added possibility to alter ini entries by php4_execute service line. php4_init now supports path to an alternate php.ini (for example in the webservers config directory) 2003-05-18 15:36:33 +00:00
Uwe Schindler
0353b50f80 PHP_WIN32 included 2003-03-24 10:33:21 +00:00
foobar
b69d4c004d style, ws 2003-02-09 23:48:22 +00:00
foobar
8c596d1394 Some compilers puke on these.. 2003-02-09 23:29:56 +00:00
Uwe Schindler
738b662b72 (NSAPI SAPI) Fixed _SERVER[] variables (all headers included) to be now similar to apache SAPI; with this new file the memory leaks (webserver eats up memory during a few days running) are also disappeared (all by NSAPI allocated strings are freed). 2003-02-07 18:57:40 +00:00
Sebastian Bergmann
2c5d4b8c23 Bump year. 2002-12-31 15:59:15 +00:00
foobar
dd53efc196 - Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is. 2002-11-26 05:57:06 +00:00
Ilia Alshanetsky
d5870ef544 Added a sanity check (hopefuly will fix bug #20109). According to
http://developer.netscape.com/docs/manuals/enterprise/40/nsapi/05_nsapi.htm#551539
util_hostname() can return a NULL value.
2002-10-26 22:00:36 +00:00
Zeev Suraski
76312b4508 another startup initialization fix - only ISAPI and CGI SAPI's tested,
minor compile buglets might occur in other SAPIs, but should be trivial
to fix...
2002-09-18 21:57:42 +00:00
Stefan Esser
44a5b43b79 Fixing the same possible memory leak. 2002-06-21 14:47:59 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Jeroen van Wolffelaar
eb38ca844b Undo Z_ subst for sapi and ext/yaz 2001-09-27 20:01:23 +00:00
Jeroen van Wolffelaar
c033288573 Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know. 2001-09-25 21:58:48 +00:00
Daniel Beulshausen
21cac086e4 TSRMLS fixes 2001-08-14 17:16:19 +00:00
Sascha Schumann
8aef193056 more tsrm cleanup 2001-08-05 15:29:47 +00:00
Sebastian Bergmann
a70ecedb33 Remove more duplicate TSRMLS_FETCH() calls. 2001-08-05 05:35:06 +00:00
Zeev Suraski
d87cc976e1 Redesigned thread safety mechanism - nua nua 2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4 - Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00