Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Zeev Suraski
4a1da8b6f9
Fix Win32 build
2000-06-04 22:00:17 +00:00
Sascha Schumann
a982eb2267
`len' is not the actual length of the string, but the possible maximum
...
length. This fixes a couple of problems, like not setting the cookie path
correctly.
2000-05-29 15:07:19 +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
9bfd5e5e55
Save more overhead. Look for the serializer/save_handler only when they're actually modified.
2000-05-26 13:02:11 +00:00
Zeev Suraski
fb69f854af
Use the INI framework in the session module
2000-05-26 11:12:49 +00:00
Hartmut Holzgraefe
df4547a3df
another bunch of proto fixes
2000-05-23 23:13:02 +00:00
Sascha Schumann
2aaa538aef
Use reentrant version of readdir. If the target platform does not support
...
the POSIX-like readdir_r, we fall back to readdir. In ZTS mode, this will
cause php_readdir_r calls to be serialized.
2000-05-23 15:13:16 +00:00
Andi Gutmans
521f03c184
- Support virtual unlink()
2000-05-23 14:36:27 +00:00
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
2000-05-23 09:33:51 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Sascha Schumann
6baa5bc2dc
Complain, if write(2) failed.
2000-05-15 13:50:39 +00:00
Sascha Schumann
4a658e8b51
Drop slower strchr in favor of memchr.
2000-05-15 09:55:03 +00:00
Andrei Zmievski
d8f2900589
Updates for changed WDDX API.
2000-05-04 20:29:36 +00:00
Sascha Schumann
d0f3764ee2
Change reentrancy API to always use the php prefix.
...
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
2000-05-04 10:38:17 +00:00
Sascha Schumann
82c5c690c9
Use the new AC_ADD_LIBRARY_WITH_PATH option shared-libadd
2000-05-02 04:01:15 +00:00
Sascha Schumann
fe50664d4d
#if COMPILE_DL
...
becomes
#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann
0d383d9373
Replace the various get_module() functions with a uniform
...
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00
Sascha Schumann
7613e064f8
Remove trailing empty lines
2000-05-01 22:38:42 +00:00
Sascha Schumann
0d36199cf9
Large test commit IV
2000-05-01 22:04:52 +00:00
Sascha Schumann
de2cea47c0
Large commit test III
2000-05-01 22:00:09 +00:00
Sascha Schumann
a481fddfb3
Improved in-tree shared libraries build system
...
The following new/revived shared modules are available now:
... MySQL (*)
... PCRE (*)
... Session
... SWF
(*) capable of using bundled library or external library
All changes:
The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
This effectively means that all extensions have to use dynlib.
ext/mysql/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/pcre/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/ext_skel was changed to reflect that more modules should be
compileable as shared module.
ext/Makefile.in has been simplified enormously.
Dependencies are now stored in the build tree.
Empty dependencies are not generated by buildconf anymore. They
are now dynamically created during the build process.
Implicit rules for .S were removed.
The NO_RECURSION feature was removed.
"libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00
Andi Gutmans
5d5b09e1a7
- Change some open's to V_OPEN()'s
2000-04-30 19:01:17 +00:00
Sascha Schumann
953fe189da
Overall UNIX build system improvements:
...
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
2000-04-30 03:20:09 +00:00
Zeev Suraski
3220bb570e
- Fix an invalid trick (it was valid when header() was using
...
zend_get_parameters(), but it became invalid when someone switched it
to zend_get_parameters_ex(), and I decided to remove it anyway).
- Remove a redundant function call
2000-04-28 13:03:13 +00:00
Zeev Suraski
883bd2b1de
- Fix virtual cwd bug
...
- Add more V_STAT() V_LSTAT() changes
2000-04-20 17:24:01 +00:00
Colin Viebrock
a7c8bfb9fb
phpinfo() prettying
2000-04-06 21:07:44 +00:00
Andi Gutmans
f9547241d5
- Fix another bug in session.c
...
- Start using the new PHP_GETCWD() and co. macros
2000-03-30 22:38:50 +00:00
Andi Gutmans
69a16e9693
- Fix compile bug in session_get_cookie_params()
2000-03-30 22:21:23 +00:00
Sterling Hughes
ec9aae474a
#Stylistic changes.
2000-03-30 20:02:21 +00:00
Sterling Hughes
149e6181e5
@-added session_get_cookie_params (sterling)
2000-03-30 18:50:09 +00:00
Sascha Schumann
f50de70308
GC now prints out how many session objects were removed
2000-03-29 20:37:29 +00:00
Sascha Schumann
af9a852bf1
Improved error messages
2000-03-29 20:37:12 +00:00
Thies C. Arntzen
a692f15568
@- session_start() is now more verbose if headers cannot be send. (Thies)
2000-03-29 09:36:27 +00:00
Sascha Schumann
1f822b98ce
Welcome PHP_ARG_ENABLE and PHP_ARG_WITH. They are there to replace the common
...
AC_MSG_CHECKING, AC_ARG_[ENABLE,WITH], AC_MSG_RESULT trio.
2000-03-27 23:33:38 +00:00
Sascha Schumann
31803785fd
These should not be exported
2000-03-27 22:40:49 +00:00
Sascha Schumann
a2d42419a5
Revamp session's config.m4 and reenable support for mm. The shared memory
...
module works now successfully again under Apache and other web servers.
2000-03-26 02:47:00 +00:00
Sascha Schumann
04daa555aa
Add MSIE 5-specific Cache-Control fields
2000-03-26 00:43:56 +00:00
Andrei Zmievski
ac7d60ecec
Changed HTTP_STATE_VARS to HTTP_SESSION_VARS.
...
@ Changed $HTTP_STATE_VARS to $HTTP_SESSION_VARS. Use only the latter
@ version now! (Andrei)
2000-03-13 15:49:13 +00:00
Andi Gutmans
909f3af8dc
- Weird that this wasn't caught earlier
2000-03-10 08:34:13 +00:00
Andrei Zmievski
5f883e802a
Anything in $HTTP_SESSION_VARS[] is auto-registered, if register_globals
...
is turned off.
2000-03-08 14:57:26 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Andrei Zmievski
898ff287f2
Need to pass PLS_DC.
2000-03-06 14:37:48 +00:00
Andrei Zmievski
29c133f11d
(php_get_session_var)
...
The variables are now serialized either from globals or from
$HTTP_STATE_VARS[] array, depending on register_globals and track_vars
settings.
2000-03-06 14:36:11 +00:00
Andrei Zmievski
fd629e6ee0
(php_set_session_var)
...
$foo and $HTTP_SESSION_VARS["foo"] are no longer references to the same
value.
2000-02-28 16:00:46 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Egon Schmid
971a6f1702
More protos.
2000-02-24 15:11:09 +00:00
Sascha Schumann
67f6945e8a
Revert part of the last commit
2000-02-22 22:52:14 +00:00
Sascha Schumann
3b74bbe999
Print out a warning, if writing the session data failed. This might
...
happen in a request shutdown handler; php_error() worked for me in the
CGI version.
2000-02-22 14:44:29 +00:00
Andrei Zmievski
e9abf023b4
Typo.
2000-02-22 14:23:09 +00:00