History log of /PHP-8.0/main/SAPI.c (Results 276 – 300 of 378)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1b279d34 27-Apr-2001 Daniel Beulshausen

get rid of MS's _popen/_pclose


Revision tags: php-4.0.5RC8, php-4.0.5RC7, php-4.0.5RC6, php-4.0.5RC5, php-4.0.5RC4, php-4.0.5RC3, php-4.0.5RC2
# e76703ae 18-Mar-2001 foobar

Fix possible crash if content-type is not set.


# d3572f74 18-Mar-2001 Zeev Suraski

These functions are not necessary - that's what sapi_register_post_entry()
and sapi_unregister_post_entry() are for...

Also, please maintain K&R code layout, it's very messy to have diff

These functions are not necessary - that's what sapi_register_post_entry()
and sapi_unregister_post_entry() are for...

Also, please maintain K&R code layout, it's very messy to have different
styles intermixed in the same codebase, and especially in the same files!

show more ...


Revision tags: php-4.0.5RC1
# eb6ba01d 26-Feb-2001 Andi Gutmans

- Fix copyright notices with 2001


Revision tags: php-4.0.4pl1, php-4.0.4pl1RC2, php-4.0.4pl1RC1
# bd0ac7fe 02-Jan-2001 Zeev Suraski

Many patches. I hope I remember them all:

- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of

Many patches. I hope I remember them all:

- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.

show more ...


Revision tags: php-4.0.4REL, php-4.0.4RC6, php-4.0.4RC5, php-4.0.4RC4, php-4.0.4RC3
# d8bc7084 29-Nov-2000 Jason Greene

Added the capability to specify a different HTTP Redirection response code
before the Location Header.

Ex. header("HTTP/1.1 307 Temporary Redirect");
header("Location: URL");


# 0f7f5c2c 13-Nov-2000 Zeev Suraski

- Import Jade Nicoletti's transparent gzip encoding support as an output
handler. Works quite nicely!
- Fix buglets in output buffering
- Add output_handler INI directive


# 2b060b3b 26-Oct-2000 Sascha Schumann

Add sapi_add_header_ex, which lets you specify whether you want
to add or replace a header.


# 222d0047 20-Oct-2000 Frank M. Kromann

Changing datatype to remove compiler warning


# 545ae277 13-Oct-2000 Hartmut Holzgraefe

post handler registration done right
(never use emalloc in an extension MINIT function)


# 22e48a81 11-Oct-2000 Hartmut Holzgraefe

@ - POST handler for Adobe FDF format (Hartmut)
the FDF handler is now working and totaly living
in the fdf extension, no more special code in
main is needed


Revision tags: php-4.0.3, php-4.0.3RC2, php-4.0.3RC1
# b7ecaacd 09-Sep-2000 Zeev Suraski

More security-related (control) patches:
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Impleme

More security-related (control) patches:
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Implemented file_uploads on/off directive (defaults to on).

show more ...


# 6c4cb4c0 09-Sep-2000 Zeev Suraski

Security related updates:
- Introduce php_open_temporary_file(), in place of tempnam(). Still
needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the

Security related updates:
- Introduce php_open_temporary_file(), in place of tempnam(). Still
needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the mechanism for unlinking uploaded files at the end of the request
(was it ever tested?). Files moved with move_uploaded_file() will not be unlink()'d
again, to avoid (albeit very unlikely) race conditions.

show more ...


# 3edf46ff 08-Sep-2000 Zeev Suraski

Implement move_uploaded_file() (untested)


# 75086e30 08-Sep-2000 Zeev Suraski

- Implemented is_upload_file()


# 91c808ec 08-Sep-2000 Zeev Suraski

Restore the headers_only test to the centralized SAPI startup. If necessary, it can
be overriden in the activate() callback.


# 6bfed632 04-Sep-2000 Andi Gutmans

- This shouldn't have been commited.
There are quite a few modules which are using VIRTUAL_DIR. I don't think
this should be happening.


# 341a0d46 04-Sep-2000 Andi Gutmans

- Found my bug and managed to move the V_* macros to TSRM


Revision tags: php-4.0.2
# 35a9a187 27-Aug-2000 Sascha Schumann

Fix strlcpy use at this place.


# b2cecd9d 27-Aug-2000 Sascha Schumann

newtype has a length of newlen+1, 'len' refers to the length of *mimetype
here.


Revision tags: PRE_LIBMYSQL_REVERT, php-4.0.2RC1
# 320105bc 20-Aug-2000 Sascha Schumann

Use size_t as parameter type in the getenv member of struct sapi_module


# f112b686 19-Aug-2000 Zeev Suraski

Avoid an endless loop situation in case of an error situation while sending headers


Revision tags: PRE_FILE_COMPILE_API_CHANGE
# ff0a08f5 02-Aug-2000 Rasmus Lerdorf

Leave this initialization in


# 76a2d253 02-Aug-2000 Rasmus Lerdorf

Heads up! I have moved the headers_only and response_code checks out of
SAPI and down into the individual SAPI modules. I have made the
appropriate changes in all the SAPI modules, but plea

Heads up! I have moved the headers_only and response_code checks out of
SAPI and down into the individual SAPI modules. I have made the
appropriate changes in all the SAPI modules, but please verify these.
The reason for this change is that Apache sometimes will feed PHP
a request_method of GET but have r->header_only set to true. This happens
in an ErrorDocument redirect. In this same scenario we want to preserve
the status code as well instead of just overwriting it with a 200 and
losing this information. For now the other sapi modules act exactly as
before since they probably do not make this distinction, and they may
not even have a valid response code this early in the request.
@ Fix HEAD request bug on an Apache ErrorDocument redirect and preserve
@ the status code across the redirect as well. (Rasmus)

show more ...


# 168ccfc1 11-Jul-2000 Zeev Suraski

Disable the hash_apply() protection on hashes that persist across requests - it's unsafe
because we may be aborted at any point
@- Fixed a possible data corruption in case of a huge amount of

Disable the hash_apply() protection on hashes that persist across requests - it's unsafe
because we may be aborted at any point
@- Fixed a possible data corruption in case of a huge amount of aborted requests (Zeev)

show more ...


1...<<111213141516