Stanislav Malyshev
3bc3677439
Fix -d functionality
2000-10-31 16:16:57 +00:00
Sascha Schumann
bed7034f92
Unify aborted connection handling
2000-10-29 16:02:40 +00:00
Zeev Suraski
1fd09132c2
Initial steps to move the INI mechanism to the Zend engine
2000-10-29 11:38:26 +00:00
Thies C. Arntzen
825457ae64
update my email.
2000-10-29 09:14:55 +00:00
Sascha Schumann
6ff371d9f7
Leave initializing of auth_(user|password) to php_handle_auth_data().
2000-10-27 10:31:10 +00:00
Sascha Schumann
b725c6eef3
The CGI RFC allows servers to pass Authorization data to the script,
...
if the server did not use the information contained therein.
See 6.1.5 and 11.2 of the proposed spec.
2000-10-27 10:26:57 +00:00
Andi Gutmans
2946f87f00
- Fix new -m on Windows
2000-10-26 23:50:17 +00:00
Mathieu Kooiman
717e934a88
Added -m (Shows list of modules) to commandline..
2000-10-26 22:31:06 +00:00
Frank M. Kromann
878e348ff9
Adding type cast to remove compiler warning
2000-10-20 19:08:59 +00:00
Andi Gutmans
f3232e99c3
- Commit Kristian's PHP 3 patch to PHP 4. Kristian I hope it's also the
...
same here.
2000-10-11 17:48:44 +00:00
Andi Gutmans
38423a895b
- Fix request_uri to take it's value from SCRIPT_NAME if PATH_INFO is not
...
defined
2000-10-03 13:02:30 +00:00
Andi Gutmans
2622eba31d
- Cleanup some output functions
2000-09-30 16:13:48 +00:00
Zeev Suraski
91c808ecc4
Restore the headers_only test to the centralized SAPI startup. If necessary, it can
...
be overriden in the activate() callback.
2000-09-08 14:43:57 +00:00
Stig Bakken
315f4f5658
@PHP 3 regression testing framework re-born (Stig)
...
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows. See tests/README for how to write tests. Added the PHP 3
tests and converted most of them.
2000-08-27 19:46:06 +00:00
Stanislav Malyshev
5090b1e8d5
Fix zend_fiel_handle handling. Should fix URL include
...
and various opened_path inconsistencies.
2000-08-13 18:00:50 +00:00
Stanislav Malyshev
db0872123b
Fix crash on broken setups ( #5979 )
2000-08-05 11:28:32 +00:00
Rasmus Lerdorf
76a2d2538c
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)
2000-08-02 22:48:45 +00:00
Zeev Suraski
52ff887db5
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;
}
2000-07-29 14:46:09 +00:00
Hartmut Holzgraefe
1a7f851985
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)
2000-07-28 15:21:20 +00:00
Stanislav Malyshev
4c6ffdb1c2
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
2000-07-13 09:17:39 +00:00
Andi Gutmans
85422c3c60
- Extra newline crept in somehow
2000-06-29 13:34:58 +00:00
Andi Gutmans
1f828a6e88
- Fix problem with DICARD_PATH being defined in windows
2000-06-29 13:31:52 +00:00
Andrei Zmievski
4010b422dd
Separate plain name returned by php_sapi_module() and pretty name
...
used for output.
2000-06-26 18:05:55 +00:00
Andi Gutmans
fd11a7e13e
- Pray this is an OK fix for the DISCARD_PATH junk
2000-06-26 17:57:03 +00:00
Stanislav Malyshev
378440f7cf
Right name for the function persist_alloc
2000-06-26 16:26:20 +00:00
Andi Gutmans
91ed009ae2
- Try two in fixing the problem with memory leaks reporting path_translated
2000-06-26 16:17:58 +00:00
Zeev Suraski
effa42696e
- Fix problem with filename being freed before possible memory leaks are
...
- reported by the memory manager
2000-06-26 15:55:59 +00:00
Stanislav Malyshev
5be54abf24
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
2000-06-26 12:26:40 +00:00
Andi Gutmans
17ce56825d
- Beautify a bit
2000-06-15 22:46:17 +00:00
Andi Gutmans
fcefeee914
- 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?
2000-06-15 22:40:52 +00:00
Andi Gutmans
4c99114a25
- Unncessary SLS_FETCH();
2000-06-15 21:34:00 +00:00
Sascha Schumann
6caf633cf7
Proper casts
2000-06-13 09:17:06 +00:00
Andi Gutmans
77f4e1c8c7
- This seems to be a bug. Anyone know who wrote this code? Should it stay
...
- in?
2000-06-10 09:05:22 +00:00
Sascha Schumann
102c6ce4b8
Move main.h to php_main.h.
2000-06-05 23:24:42 +00:00
Andi Gutmans
8c82566b48
- Fix problem in sessions module under Win32. Need to use ; as an options
...
- delimiter in save_path instead of :.
2000-05-27 16:38:49 +00:00
Zeev Suraski
1895a09749
Only fetch globals if it's necessary (which it usually won't be)
2000-05-25 14:43:30 +00:00
Thies C. Arntzen
e319b5f6a5
@- ignore_user_abort() & friends should now work in CGI mode as well.
...
@ (Patch by daniel.braun@ercom.fr )
2000-05-25 07:01:34 +00:00
Hartmut Holzgraefe
22bfb799a7
-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 )
2000-05-22 22:49:18 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Andi Gutmans
0d194ec80b
- Fix problem with sapi_globals being used before it is initialized.
2000-05-05 07:21:48 +00:00
Andi Gutmans
198537b70f
- Make Windows compile again.
2000-05-05 07:18:50 +00:00
Zeev Suraski
0b33ac7627
- Add -z and -g switches to the CGI
2000-05-04 13:42:21 +00:00
Andi Gutmans
9aba6a94d3
- Another PHP_WIN32 patch
2000-04-20 13:43:48 +00:00
Andi Gutmans
f9e9cab7ac
- Change to PHP_WIN32
2000-04-20 13:23:19 +00:00
Thies C. Arntzen
0540bbe5af
improve fix
2000-04-20 07:35:22 +00:00
Frank M. Kromann
429cf808e6
SIGPIPE is unknown on WIN32 platforms
2000-04-19 17:28:23 +00:00
Thies C. Arntzen
19a9577901
ignore SIGPIPE in standalone-mode so that one can actually use fsockopen() *and* have the remote side close the socket whithout PHP dying!
2000-04-19 15:37:43 +00:00
Sascha Schumann
bb09ee9505
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
2000-03-12 17:18:21 +00:00
Sascha Schumann
caeaaf4d98
Fix build on systems which lack snprintf or vsnprintf.
...
PR: #3786
2000-03-12 15:47:34 +00:00
Zeev Suraski
1261271839
Allow the INI callbacks to know at what stage PHP is
2000-02-26 15:36:23 +00:00