History log of /PHP-7.2/sapi/cgi/cgi_main.c (Results 501 – 525 of 565)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


# 52ff887d 29-Jul-2000 Zeev Suraski

Made ob_start() and friends reentrant. It's now possible to implement this
long-requested functionality, now that output buffering is re-entrant:

function eval_ret($code)
{

Made ob_start() and friends reentrant. It's now possible to implement this
long-requested functionality, now that output buffering is re-entrant:

function eval_ret($code)
{
ob_start();
eval($code);
$retval = ob_get_contents();
ob_end_clean();
return $retval;
}

show more ...


# 1a7f8519 28-Jul-2000 Hartmut Holzgraefe

added '-l' option to command line / CGI version for 'syntax check only'
plus a little cleanup and rearranging in command line option parsing

@ CGI aka. command line version has now an op

added '-l' option to command line / CGI version for 'syntax check only'
plus a little cleanup and rearranging in command line option parsing

@ CGI aka. command line version has now an option '-l' for syntax check
@ without execution (Hartmut)

show more ...


# 4c6ffdb1 13-Jul-2000 Stanislav Malyshev

make -c in stand-alone mode work again.
Setting ini_path after php_module_startup doesn't do much good -
since php_module_startup reads .ini.
# This fix is very ugly. Everyone is welcome

make -c in stand-alone mode work again.
Setting ini_path after php_module_startup doesn't do much good -
since php_module_startup reads .ini.
# This fix is very ugly. Everyone is welcome to make better fix
# that won't report errors twice and won't scan argument 3 times

show more ...


Revision tags: PRE_METHOD_CALL_SEPERATE_FIX_PATCH, php-4.0.1pl1
# 85422c3c 29-Jun-2000 Andi Gutmans

- Extra newline crept in somehow


# 1f828a6e 29-Jun-2000 Andi Gutmans

- Fix problem with DICARD_PATH being defined in windows


Revision tags: php-4.0.1, php-4.0.1RC2
# 4010b422 26-Jun-2000 Andrei Zmievski

Separate plain name returned by php_sapi_module() and pretty name
used for output.


# fd11a7e1 26-Jun-2000 Andi Gutmans

- Pray this is an OK fix for the DISCARD_PATH junk


# 378440f7 26-Jun-2000 Stanislav Malyshev

Right name for the function persist_alloc


# 91ed009a 26-Jun-2000 Andi Gutmans

- Try two in fixing the problem with memory leaks reporting path_translated


# effa4269 26-Jun-2000 Zeev Suraski

- Fix problem with filename being freed before possible memory leaks are
- reported by the memory manager


# 5be54abf 26-Jun-2000 Stanislav Malyshev

If we freed it, we might not touch it
# BTW, this is not a real fix - we still might use it
# when reporting memory leaks, but at least we won't reference
# unitialized memory


Revision tags: php-4.0.1RC
# 17ce5682 15-Jun-2000 Andi Gutmans

- Beautify a bit


# fcefeee9 15-Jun-2000 Andi Gutmans

- Try and fix crash with CGI.
- Please check out the comment I wrote in init_request_info(). There was a
- lot of code there which was running for no apparent reason. Should it be
- remov

- Try and fix crash with CGI.
- Please check out the comment I wrote in init_request_info(). There was a
- lot of code there which was running for no apparent reason. Should it be
- removed or should it actually run?

show more ...


# 4c99114a 15-Jun-2000 Andi Gutmans

- Unncessary SLS_FETCH();


# 6caf633c 13-Jun-2000 Sascha Schumann

Proper casts


# 77f4e1c8 10-Jun-2000 Andi Gutmans

- This seems to be a bug. Anyone know who wrote this code? Should it stay
- in?


Revision tags: PRE_EIGHT_BYTE_ALLOC_PATCH
# 102c6ce4 05-Jun-2000 Sascha Schumann

Move main.h to php_main.h.


# 8c82566b 27-May-2000 Andi Gutmans

- Fix problem in sessions module under Win32. Need to use ; as an options
- delimiter in save_path instead of :.


# 1895a097 25-May-2000 Zeev Suraski

Only fetch globals if it's necessary (which it usually won't be)


# e319b5f6 25-May-2000 Thies C. Arntzen

@- ignore_user_abort() & friends should now work in CGI mode as well.
@ (Patch by daniel.braun@ercom.fr)


# 22bfb799 22-May-2000 Hartmut Holzgraefe

-i, -v, -h and -? execution pathes didn't flush the output buffer
on exit, resultiong in no output at all when "output-buffering=On"
( BUG id#3420 )


Revision tags: php-4.0.0
# e043439f 18-May-2000 Zeev Suraski

Update the license with the new clause 6


Revision tags: php-4.0RC2
# 0d194ec8 05-May-2000 Andi Gutmans

- Fix problem with sapi_globals being used before it is initialized.


# 198537b7 05-May-2000 Andi Gutmans

- Make Windows compile again.


1...<<212223