Uwe Schindler
218ce59478
Fix crash on server startup when log message is printed
2007-04-27 00:29:02 +00:00
Uwe Schindler
4f370ac55f
Update function names for PHP6 to php6*
2007-03-06 19:47:12 +00:00
Uwe Schindler
7d9bf1d1cc
remove (large) static buffers for header names and request uri
2007-03-06 18:15:04 +00:00
Uwe Schindler
ff979699c9
use slprintf instead of snprintf and remove 0termination things (because slprintf is always available now)
2007-03-06 16:19:36 +00:00
Uwe Schindler
f8b7d0e046
snprintf patch
2007-03-05 16:28:39 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Michael Wallner
231ad17475
- explicit usage of TS macros
...
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
4ce0141713
- new output control code
...
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
# - improve existing output handlers
# - move zlib.output_compression cruft from SAPI.c to zlib.c
# - output_encoding handling was ambigious, resp. is undefined yet
# - more tests
2006-06-02 19:51:43 +00:00
Uwe Schindler
c9156346eb
Remove hiding of authorization headers completely because safe mode canceled
2006-04-29 21:50:17 +00:00
Ilia Alshanetsky
87c4a01b87
Nuke safe_mode from sapi/*
...
# only main/ remains at this point, this is the next step
2006-03-07 14:43:16 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
foobar
a208d9a966
- Nuke php3 legacy
2005-12-06 02:28:26 +00:00
foobar
5ee664f80e
nuke php3 legacy
2005-12-06 01:13:59 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Dmitry Stogov
d647e000a7
Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed)
2005-07-04 12:47:10 +00:00
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