Yasuo Ohgaki
66a50c5373
Added ob_flush_all() that flushes bufferred contents until it actually
...
sent/printed.
@ Added ob_flush_all() that flushes all buffers. (Yasuo)
2002-10-03 07:17:14 +00:00
Sascha Schumann
4fbf3f77c0
move gc_maxlifetime one up
2002-10-03 06:52:23 +00:00
Sascha Schumann
04b66595a7
Add recommened entries, including disabling the session bug/feature
2002-10-03 06:51:38 +00:00
Sascha Schumann
0ccb5d98b4
Add new session options
2002-10-03 06:49:33 +00:00
Sascha Schumann
13f5db1b67
Make the interpretation of gc_probability configurable by adding
...
session.gc_dividend. The probability of running gc on each request is then
gc_probability/gc_dividend.
2002-10-03 06:45:15 +00:00
Sascha Schumann
be319c721a
Reenable E_WARNING and test session.bug_compat_warn in addition.
2002-10-03 06:41:25 +00:00
Sascha Schumann
afb1458910
session_destroy resets the sid, so we need to set it again here
2002-10-03 06:33:19 +00:00
Sascha Schumann
356ea7ffbd
Verify PHP 4.2 compatibility: global is used albeit register_globals=0
2002-10-03 06:32:45 +00:00
Sascha Schumann
0ed434a13b
Use ZEND_SET_SYMBOL_WITH_LENGTH correctly (hopefully)
...
It strikes me as awkward that a Zend API user needs to take care of
doing the engine's reference counting.
This fixes a memory overrun in a testcase. All ZEND_SET_* calls
should be correct now.
2002-10-03 06:29:58 +00:00
Sascha Schumann
15b23945ad
(track_init) Use is_ref/refcount parameters of SET_SYMBOL macros
...
(save_current_state) Prevent a possible deadlock which occurs when
the track vars are inaccessible
2002-10-03 05:53:45 +00:00
Sascha Schumann
d4ef4079de
Verify PHP 4.2 compatibility: unset($c) with enabled register_globals
2002-10-03 05:06:01 +00:00
Yasuo Ohgaki
f6dfd6b184
Forgot 1 byte for \0
2002-10-03 04:56:54 +00:00
Yasuo Ohgaki
5f1bb18c36
Save memory
2002-10-03 04:54:01 +00:00
Sascha Schumann
8a586103fc
Align behaviour with 4.2 with regard to register_globals=1
...
session_register("c");
unset($c);
$c = time();
If a user unsets a global session variable, it is not a reference
to a $_SESSION slot anymore.
During serialization, PHP 4.2 will not find the respective entry in
$_SESSION and fall back to the global sym table.
2002-10-03 04:53:05 +00:00
Yasuo Ohgaki
f534dc8f47
Added missing proto and foldings.
2002-10-03 04:17:41 +00:00
Yasuo Ohgaki
22bf29384e
Move wrong output buffer usage check to ob_gzhandler init.
...
Export some output buffer functions.
2002-10-03 03:58:12 +00:00
Sascha Schumann
b9077e5a9d
Nuke PS(vars), we keep the state of registered session variables now
...
completely in PS(http_session_vars). This avoids bugs which are caused
by a lack of synchronization between the two hashes. We also don't need
to worry about prioritizing one of them.
Add session.bug_compat_42 and session.bug_compat_warn which are enabled
by default. The logic behind bug_compat_42:
IF bug_compat_42 is on, and
IF register_globals is off, and
IF any value of $_SESSION["key"] is NULL, and
IF there is a global variable $key, then
$_SESSION["key"] is set to $key.
The extension emits this warning once per script, unless told otherwise.
"Your script possibly relies on a session side-effect which existed until
PHP 4.2.3. Please be advised that the session extension does not consider
global variables as a source of data, unless register_globals is enabled.
You can disable this functionality and this warning by setting
session.bug_compat_42 or session.bug_compat_warn.
2002-10-03 03:23:02 +00:00
Yasuo Ohgaki
bec4574f57
Made some functions inline.
...
Added static for unexported functions.
2002-10-03 02:55:19 +00:00
Yasuo Ohgaki
22220d8983
Rename pg_data_seek() to pg_result_seek().
...
Give a correct credit for Marcus and Wez.
2002-10-03 02:41:19 +00:00
Yasuo Ohgaki
1b675aa690
Rename pg_data_seek() to pg_result_seek().
...
Added mysql_result_seek() which is alias of mysql_data_seek().
2002-10-03 02:32:09 +00:00
Yasuo Ohgaki
bd177ce7c1
Added ob_get_clean() and ob_get_flush().
...
Someone requested this feature before.
@ Added ob_get_clean() and og_get_flush(). (Yasuo)
2002-10-03 01:36:44 +00:00
Ilia Alshanetsky
01830c0d27
Added missing TSRMLS_DC to php_apache_lookup_uri()
2002-10-03 01:28:04 +00:00
8babbff1f7
ChangeLog update
2002-10-03 00:35:16 +00:00
David Reid
9b10843481
Add more BeOS support...
2002-10-02 23:52:08 +00:00
David Reid
cf2e12a01e
Add some more BeOS support.
2002-10-02 23:48:58 +00:00
Daniela Mariaschi
69a6289e8c
syntax to avoid error while reading data from file in ibase_blob_import
2002-10-02 23:05:06 +00:00
foobar
822e342739
stylissimo
2002-10-02 22:34:40 +00:00
foobar
ac1254a59c
unify these files to conform with the new files created by run-tests.php
2002-10-02 22:31:37 +00:00
Sascha Schumann
4ea4f294b6
Fix harmless memory leaks and simplify track_vars_init.
2002-10-02 21:51:32 +00:00
Ilia Alshanetsky
e4e71fe5ca
Notes about additions to Apache 2 sapi.
2002-10-02 21:34:01 +00:00
Stig Bakken
0a51b3e871
* we're releasing 1.0 along with PHP 4.3, so this is 1.0RC1
2002-10-02 21:33:35 +00:00
Stig Bakken
01daca5e10
* add support for http proxy authorization (thanks Arnaud)
2002-10-02 21:27:25 +00:00
Ilia Alshanetsky
ca0aced7c9
Added apache_response_headers(), apache_note(), apache_getenv() and
...
apache_setenv() functions.
The getallheaders() is renamed to apache_request_headers() and an
getallheaders() is aliased to it.
Added a better error reporting mechanism to apache_lookup_uri() and virtual().
2002-10-02 21:22:44 +00:00
Andrey Hristov
83a0f20381
Making strrchr() binary safe.
...
Test case added.
2002-10-02 18:58:09 +00:00
Andrey Hristov
2092d80230
Making strstr() binary safe.
2002-10-02 18:41:55 +00:00
Andrey Hristov
b2d93b67fc
Ws fix. Forgot to add this in the previous commit.
2002-10-02 18:13:56 +00:00
Andrey Hristov
f02b1507dc
ws fixes.
2002-10-02 17:56:04 +00:00
Derick Rethans
f85e6fe51d
- Added CURLOPT_FTP_USE_EPSV option. (Patch by Alex Howansky
...
<alex@wankwood.com>)
2002-10-02 16:44:48 +00:00
Marcus Boerger
84fa2fd9a8
Better...
2002-10-02 15:40:57 +00:00
Marcus Boerger
1e6557f664
Fix implicit_flush
2002-10-02 15:36:29 +00:00
Marcus Boerger
ff51ed7c6f
Modified get_status(): Display chunk_size allways and size which is in
...
most cases initial_size as well as block_size only when used.
2002-10-02 15:10:11 +00:00
Marcus Boerger
d4bba6d158
Revisted Wez patch: chunk_size 0 means cahce the whole output. So
...
we must apply the default before calling php_enable_output_compression().
I have left the default setting in the rinit function even though i do think
it is not necessary.
2002-10-02 15:02:16 +00:00
Colin Viebrock
f871f3870d
Fix for SRM module (and maybe others). Header rows are now not HTML
...
escaped, so make sure you do this yourself in the modules.
2002-10-02 14:27:32 +00:00
Marcus Boerger
4a1d83aa8c
Another missing variable init
...
#Wez shouldn't "stream->filterhead->fops->flush()" affect return value also?
2002-10-02 13:25:38 +00:00
Marcus Boerger
efec24d22d
Missing variable init
2002-10-02 13:18:01 +00:00
Harald Radi
afb75a45e9
fixes bugs #19156 and #19544
2002-10-02 12:53:51 +00:00
Marcus Boerger
614d10a8cb
Check for C99 conformance of snprintf.
...
#This way we force using internal version if a broken library is used.
#E.g. length parameter is broken, return value or default precision wrong.
2002-10-02 12:52:53 +00:00
Sascha Schumann
6683334066
Another Linux x86 system returns ELIMIT so we need to check errno as well
...
before assuming that pread/pwrite work.
2002-10-02 08:32:26 +00:00
Sascha Schumann
875c1da58e
Reflect actual stance wrt cli/cgi
2002-10-02 08:14:47 +00:00
Yasuo Ohgaki
2300bddb9c
Fixed pg_escape_typea()
2002-10-02 06:30:40 +00:00