Zeev Suraski
86a19f4714
Add the complement to the putenv() security
2000-01-31 22:31:00 +00:00
Sascha Schumann
f8e1457be0
(PHP mktime) Added windowing support for 0..70
...
@- mktime interprets years in the range 0-70 now as 2000-2070. You can
@ continue to specify the complete year (i.e. 1920) (Sascha)
2000-01-31 17:22:17 +00:00
Zeev Suraski
53a0d6fb9d
Fix typo
2000-01-30 22:14:58 +00:00
Zeev Suraski
5540028340
@- Added the ability to prevent the user from overriding certain environment
...
@ variables in Safe Mode (Zeev)
- Finished work, more or less
2000-01-30 22:10:30 +00:00
Zeev Suraski
01362974d6
Some more work, I'll finish this when I get home
2000-01-30 20:49:16 +00:00
Zeev Suraski
430571d62c
Initial work on the protected env vars stuff
2000-01-30 20:31:41 +00:00
Zeev Suraski
8a2f6c5e60
@- Fixed a crash bug in strtr() working on large input strings (Zeev)
2000-01-29 17:54:30 +00:00
Sam Ruby
8a75e48bd4
Progress: sapi/servlet now builds again on Unix
2000-01-29 17:53:58 +00:00
Zeev Suraski
99f079a349
- A few fixes
...
- Added register_argv_argc directive to allow disabling of argv/argc
2000-01-28 18:29:37 +00:00
Zeev Suraski
9ab35ae393
Tried to centralize global variable registration as much as possible:
...
- Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly
to $HTTP_GET_VARS[], contain environment and server variables. Setting
register_globals to Off will now also prevent registration of the
environment and server variables into the global scope (Zeev)
- Renamed gpc_globals to register_globals (Zeev)
- Introduced variables_order that deprecates gpc_order, and allows control
over the server and environment variables, in addition to GET/POST/Cookies
(Zeev)
2000-01-28 17:24:53 +00:00
Zeev Suraski
fc678100cd
post.c really had nothing to do with POST anymore, and it belongs to the top level directory
2000-01-28 13:31:12 +00:00
Zeev Suraski
3a35a6955d
Get rid of the old implementation
2000-01-28 12:53:05 +00:00
Sam Ruby
137765c95a
accomodate old versions of kaffe which don't support jar
2000-01-28 10:53:06 +00:00
Sam Ruby
302ccb0d97
Shutdown cleanly (prevents Kaffe from trapping on exit)
2000-01-28 00:32:28 +00:00
Chuck Hagenbuch
b87e48802e
Mcal cleanup, stage 1: it compiles again (the php3 syntax to php4/zend
...
syntax conversion left a lot of: PHP_FUNCTION void ... definitions, giving
two types to every function).
However, it's still segfaulting. I'll look into that next.
2000-01-27 16:38:45 +00:00
Sam Ruby
5924c920ec
PHP now starts up in CGI mode with Kaffe on RedHat Linux 6.1.
...
status: segfault atexit, npe in jawt - but otherwise both samples work!
Installation needs more work
2000-01-27 13:44:45 +00:00
Sam Ruby
31e3466556
Forward progress, thanks to Sascha Schumann.
...
libphp_java.so is now built again - it just refuses to load.
At least I now have something I can debug!
2000-01-27 02:13:21 +00:00
Uwe Steinmann
5c3917478a
- resumed work on domxml and found a way to circumwent a segm fault
...
(see the source). No solution to fix it, yet. Probably needs some
understanding of zend, which I don't have.
- added more functions
2000-01-25 17:00:09 +00:00
Egon Schmid
99ff6e3b76
Proper indentation here also.
2000-01-24 20:25:57 +00:00
Andreas Karajannis
2b6d84ff37
Fix for wrong library ordering with adabas
2000-01-19 18:21:53 +00:00
Sam Ruby
e6c203832e
First step to restoring the ability to build Java support on Unix:
...
1) Restore the ability to build CGI as a shared library
2) Correct make dependency rule so that the jar files are included
3) Search for jar executable, and use it, if found
Left TODO: actually build the shared libraries
2000-01-19 14:45:26 +00:00
Thies C. Arntzen
fb6a1b8b83
RETURN_NULL -> RETURN_NULL() // we don't want macros without an argumnet
2000-01-19 09:38:45 +00:00
Zeev Suraski
4b006cb8b0
This doesn't seem to be necessary, and causes a leak in case of output_buffering=on
2000-01-18 22:25:48 +00:00
Thies C. Arntzen
c6df8ab565
@- Ora_GetColumn()/Ora_FetchInto() now return NULL for NULL-Columns. (Thies)
...
also changed return-type for list-dtor
2000-01-18 08:35:55 +00:00
Zeev Suraski
df138c2e2f
- MS-SQL fix
...
- Fix a crash bug in session_register()
2000-01-17 22:41:59 +00:00
Zeev Suraski
62114c1806
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
2000-01-17 17:33:37 +00:00
Zeev Suraski
ec386cc9fd
- Remove the pre-request-shutdown hooks, they should no longer be necessary.
...
The session module may not work due to an unknown (and until now, IMO, misdiagnosed) problem,
if it does, please report it!
2000-01-16 21:03:49 +00:00
Zeev Suraski
97e1ad136a
Fix
2000-01-16 20:37:09 +00:00
Zeev Suraski
2dea694ab4
Remove the post-startup callback support. Modules are now started only after
...
the entire engine is started. People - please make sure that the session module
works properly for you.
2000-01-16 19:43:34 +00:00
Thies C. Arntzen
8950aa75c4
@- OCI8 now supports binding of NULL-values. Module cleanups. (Thies)
...
lots of cleanup - all invisible to the user (i hope;-)
- full refcounting of connections & statements
- cleanup of the descriptor-code (descriptors are now real resources)
- we now use SQLT_CHR instead of SQLT_STR (no trailing \0) - smarter & faster
- ocifetchinto(OCI_BOTH) will use references.
2000-01-16 13:30:57 +00:00
Andrei Zmievski
3e5dc58f35
(wddx_stack_destroy) Properly free the dangling varname.
...
(php_wddx_deserialize_ex) There should be only 1 value on the stack after
parser is done.
2000-01-15 23:34:51 +00:00
Andrei Zmievski
878906fbb8
Another idea I had today.
2000-01-15 21:35:50 +00:00
Andrei Zmievski
2fc0dac01e
(php_sockwait_for_data) timeout is not assigned yet, so check the right one.
2000-01-15 20:39:06 +00:00
Sascha Schumann
44a712d810
(php_sockwait_for_data) clean up
2000-01-15 19:51:44 +00:00
Andrei Zmievski
bfc85c288a
Fix prototype.
2000-01-15 19:42:40 +00:00
Andrei Zmievski
4423bf9d10
Added ability to set timeout on socket read operations. New function
...
set_socket_timeout(socket, seconds, microseconds) sets the timeout.
@- Added ability to set timeout on socket read operations through
@ set_socket_timeout() function. (Andrei)
2000-01-15 19:41:17 +00:00
Zeev Suraski
a0591b32c7
Fix logic
2000-01-15 17:23:18 +00:00
Sascha Schumann
b83739945e
Initialize flag correctly
2000-01-15 17:16:21 +00:00
Zeev Suraski
259c05829b
Compile fixes for ZTS
2000-01-15 16:56:30 +00:00
Thies C. Arntzen
bf4d20aaa8
just add a remark. zend_hash_apply can & will cause problems here unless
2000-01-15 13:39:19 +00:00
Thies C. Arntzen
b42603eee6
in an rshutdown function we should not access the regular_list like this.
2000-01-15 13:35:06 +00:00
Sascha Schumann
a0b08b5e0b
Be more verbose, if headers were already sent and remove RSHUTDOWN handler
2000-01-15 13:20:39 +00:00
Thies C. Arntzen
64c6e1e90e
sessions are now written via a _php_session_shutdown which is registered
...
via php_register_pre_request_shutdown().
2000-01-15 13:09:32 +00:00
Sascha Schumann
e078a04fd0
Complain verbosely, if a destroy failed
2000-01-15 12:17:18 +00:00
Zeev Suraski
3f74baed02
Woops, forgot to commit the right version of the file...
2000-01-13 17:54:51 +00:00
Zeev Suraski
972631be71
- Added flush() support to SAPI
...
- Got rid of the old flush() implemenetation in favour of the new one
- Added implicit_flush() support to the output buffering layer.
@- Added implicit_flush() to control whether flush() should be called
@ implicitly after any output (Zeev)
2000-01-13 17:37:25 +00:00
Sascha Schumann
d67a4cec24
Add description for AC_DEFINEs
2000-01-12 19:03:34 +00:00
Sascha Schumann
3164ac7217
Fix compile on AIX, #2071
2000-01-12 18:21:39 +00:00
Zeev Suraski
736570923d
@- Fixed a crash in pfsockopen() (Zeev)
2000-01-10 19:56:23 +00:00
Uwe Steinmann
78e84f9da3
- changed cpdf_global_set_document_settings() to cpdf_global_set_document_limits()
2000-01-10 12:42:05 +00:00