Zeev Suraski
897bb1b572
- Parse errors in the php.ini files under Windows will no longer mess up the
...
HTTP headers in CGI mode and are now displayed in a message box
2000-06-09 02:18:50 +00:00
Hartmut Holzgraefe
eb8cd900a6
@ fopen_wrappers() are now extensible via modules
...
so here it finaly is, the more general approach to fopen wrappers
# see what i'll break this time
2000-06-08 09:43:12 +00:00
Sascha Schumann
d180634e07
Add PHP_BROKEN_SPRINTF check here.
...
Also remove unnecessary #ifdef's for PACKAGE and VERSION.
2000-06-08 06:16:22 +00:00
Hartmut Holzgraefe
02b0cef4d8
cyscape's "current" browscap.ini file doesn't terminate the last line
...
in the file with a newline character
this resulted in a parse error
2000-06-07 05:47:24 +00:00
Zeev Suraski
34c40031ca
@- Made the short_tags, asp_tags and allow_call_time_pass_reference INI directives work
...
@ on a per-directory basis as well, e.g. from .htaccess files (Zeev)
2000-06-06 19:16:57 +00:00
Andi Gutmans
d7ac0f2c9d
- I didn't have anything to do with this buggy code. Just kidding :)
2000-06-06 18:54:00 +00:00
Sascha Schumann
102c6ce4b8
Move main.h to php_main.h.
2000-06-05 23:24:42 +00:00
Andi Gutmans
7e0baa7a1d
- Revert Thies' locale patch. It was screwing up language level things.
...
- We could add support for locale in some specific output functions at a
- later time to make everyone happy
2000-06-05 15:34:11 +00:00
Zeev Suraski
4a1da8b6f9
Fix Win32 build
2000-06-04 22:00:17 +00:00
Stanislav Malyshev
5af7dff758
add opendir to VIRTUAL_DIR
2000-06-04 08:29:11 +00:00
Stanislav Malyshev
375474ce86
chdir returns -1 on error, so should V_CHDIR
2000-06-04 07:59:32 +00:00
Rasmus Lerdorf
76061b701e
@ Add support for both indexed and non-indexed arrays of file uploads
...
@ eg. name="file[]" type="file" (Rasmus)
Add support for both indexed and non-indexed arrays of file uploads
eg. name="file[]" type="file" (Rasmus)
2000-06-04 05:46:28 +00:00
Zeev Suraski
d1f1d40527
- Make the INI entries sorted in phpinfo()
2000-06-03 03:05:29 +00:00
Zeev Suraski
06388f5181
Use the new error code
...
@- Added set_error_handler() to allow custom error handling functions,
@ instead of the built-in error handling code (Zeev, Zend Engine)
@- Renamed user_error() to trigger_error(); user_error() remains
@ defined for compatibility (Zeev, Zend Engine)
2000-06-02 12:35:53 +00:00
Sascha Schumann
dc5af6decc
s/sys_syslog/std_syslog/
2000-06-01 00:48:28 +00:00
Thies C. Arntzen
ccacfd880b
@- ignore_user_abort=Off is now default. (Thies)
2000-05-31 14:02:36 +00:00
Zeev Suraski
8fb954ae4f
Fix startup sequence. It should do it this time.
2000-05-29 18:45:06 +00:00
Zeev Suraski
7213c743f0
- Added disable_functions php.ini support
...
- Fixed Win32 build
2000-05-29 17:22:35 +00:00
Hartmut Holzgraefe
ae1043ba0d
warn_not_available() will be used by other modules besides
...
ext/standard in the (very near) future
2000-05-29 17:08:01 +00:00
Andi Gutmans
a0e46521e3
- License is at 2.02
2000-05-29 17:03:24 +00:00
Rasmus Lerdorf
ebd9e89fcf
Clean up EXIF code and give up on extracting the embedded thumbnail for
...
now. Will return to it when I find some real specs on it.
Also added a couple of missing copyright headers
2000-05-29 16:34:19 +00:00
Zeev Suraski
949574d027
Remove stale reference to .h file
2000-05-29 16:22:26 +00:00
Zeev Suraski
1ae552c7d1
Creat is creat is creat, no open
2000-05-29 11:45:20 +00:00
Andi Gutmans
9786b16e9f
- Move zend_activate_modules() to later on.
2000-05-28 17:19:49 +00:00
Sascha Schumann
833339c692
Remove win32/php_registry.h from include list. That slipped in by accident.
2000-05-28 16:27:25 +00:00
Sascha Schumann
0d9c0616f9
Use php_syslog() for system call. On OpenServer 5, syslog is defined to
...
var_syslog/sys_syslog which causes various problems.
Submitted by: Paul Gardiner <I.T.Manager@barleychalu.co.uk>
2000-05-28 16:22:28 +00:00
Thies C. Arntzen
44cf237a72
(php_execute_script) fix leak for phpinfo() images.
...
# maybe the activate/deactivate should be moved outside php_execute_script()?
2000-05-28 12:30:06 +00:00
Hartmut Holzgraefe
fb39eda0d8
a second (cleaner?) try on warnings about unsupported functions
2000-05-27 19:27:20 +00:00
Andi Gutmans
afccb58612
- I'm not sure if PHP_NOT_IN_THIS_BUILD is the way to handle these
...
- functions but in any case I have changed it to PHP_NOT_IN_THIS_BUILD()
2000-05-27 18:55:11 +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
Hartmut Holzgraefe
69d1e788c0
if a module provides a function it should also do so if the function
...
is not functional due to configure findings
the function should offer a meaningful warning if it is not supported
instead of just beeing undefined
i had already changed this in 'gd', now this is doing it for 'standard'
2000-05-26 17:04:02 +00:00
Sascha Schumann
8a86e37d69
The behaviour for result == NULL || entry == NULL is undefined.
2000-05-24 14:46:13 +00:00
Sascha Schumann
faf4f764b7
If no further directory exists, php_readdir_r() returns success and sets
...
*result to NULL.
2000-05-24 14:41:28 +00:00
Sascha Schumann
25df65b0b8
Support old-style readdir_r()
2000-05-24 11:06:57 +00:00
Sascha Schumann
ff4031585a
Avoid building two versions of the time-related reentrant functions.
2000-05-24 10:44:57 +00:00
Hartmut Holzgraefe
df4547a3df
another bunch of proto fixes
2000-05-23 23:13:02 +00:00
Andi Gutmans
617266e33e
- Virtual current working directory is now enabled
...
- Added support for mkdir()/rmdir() and more
2000-05-23 17:02:21 +00:00
Sascha Schumann
112525ea9f
Some systems don't have dirent.h. Wrap include appropiately.
2000-05-23 15:15:48 +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
Sascha Schumann
be6afb3fcc
Add POSIX-like readdir_r for Win32
2000-05-23 14:58:43 +00:00
Andi Gutmans
521f03c184
- Support virtual unlink()
2000-05-23 14:36:27 +00:00
Thies C. Arntzen
cf1d0f1844
fixed newly introduced crash
2000-05-23 10:36:18 +00:00
Thies C. Arntzen
61ceb9e5ab
bump version to 4.0.1-dev
2000-05-23 07:49:23 +00:00
Hartmut Holzgraefe
1ec84f9c21
fix for bug #2852 : argc inconsistency
2000-05-22 23:24:55 +00:00
Andi Gutmans
7f689fc044
- Move activate_models() back to where it was. I don't want to make such
...
- an optimization right before 4.0.0. Who knows, maybe one of the phpinfo()
- functions depends on some information only available after RINIT.
- In any case, my fix for .phps stays in.
2000-05-21 18:05:04 +00:00
Andi Gutmans
dc5cd319e5
- Fix Apache php source highlighting mode. It was crashing due to the
...
- module shutdown functions being called when the startup functions weren't
- being called.
2000-05-21 16:36:16 +00:00
Thies C. Arntzen
92437e9db1
fix the fix (it's still a hack)
2000-05-19 10:48:05 +00:00
Thies C. Arntzen
bad35f5484
make sigchild handler more robust.
2000-05-19 10:40:34 +00:00
Zeev Suraski
0f82e6de23
Minor output mods
2000-05-19 08:28:53 +00:00
Thies C. Arntzen
674f4bac47
added new option "--enable-sigchild" (default is off)
...
when using this option php will setup it's own SIGCHLD handler.
when using oracle-libraries >= 8.1 on linux you need this option
if you are connecting using the BEQ interface - elsewise you will
see <defunc> processes whenever a php-script disconnects from oracle.
2000-05-18 19:45:34 +00:00
Zeev Suraski
7e0a18d014
Package 4.0.0
2000-05-18 17:43:19 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Andi Gutmans
a704be730c
- Fix Win32 build
2000-05-17 23:42:18 +00:00
Hartmut Holzgraefe
31c3dfdf52
proto-takeover from php3
2000-05-17 19:45:46 +00:00
Zeev Suraski
efb51322c1
Only allow loading of extensions only during .ini file parsing
2000-05-17 15:41:32 +00:00
Sascha Schumann
69223ccebd
ANSIfy declarations/prototypes
2000-05-16 23:38:51 +00:00
Sascha Schumann
46e672243a
Remove extra declarations of cwd_globals(_id)
2000-05-16 23:11:18 +00:00
Andi Gutmans
0aa5f2ea3c
- Reverse the patch until I have time to look at it. The global id should
...
be defined by ZEND_DECLARE_GLOBALS(cwd)
2000-05-16 14:59:30 +00:00
Andi Gutmans
4e6e741af8
- Commit Sascha's patch to the virtual_cwd code. Will test it on Windows
...
soon.
2000-05-16 14:47:55 +00:00
Sascha Schumann
17b84ad7e7
Planning for 4.0RC2 on Monday
2000-05-06 01:48:35 +00:00
Sascha Schumann
e905fabe0d
s/strtok_r/php_strtok_r/
2000-05-04 11:36:33 +00:00
Sascha Schumann
f2a236ff83
Missed localtime_r/ctime_r. Prefix them with php
2000-05-04 11:31:58 +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
Sam Ruby
6fb3301416
Correct build breakage - win32
2000-05-03 11:26:29 +00:00
Sascha Schumann
fca9539d63
Preset extension_dir to the installation directory of PHP modules.
...
This effectively means that dl() will work without having an installed
configuration file.
2000-05-02 14:46:20 +00:00
Sascha Schumann
c801cfb879
php_reentrancy.h is needed for strtok_r
2000-05-01 03:43:07 +00:00
Andi Gutmans
e13285ded7
- Take Sascha's advice and create on V_OPEN() which replaces open().
...
- Unlike the other macros its argument has to have braces around it, for
- example, open(filename, flags) becomse V_OPEN((filename, flags))
- Made small conversion to new Zend macros. The ugly (*foo)->value.str.val
- now becomes Z_STRVAL_PP(foo). PP means pointer pointer, there also exist
- single P's for example foo->value.str.val becomes Z_STRVAL_P(foo).
2000-04-30 16:32:36 +00:00
Sascha Schumann
be00d130e6
Fix virtual_open() by adding ellipse
2000-04-30 03:06:00 +00:00
Andi Gutmans
f1d5167ae3
- Implement V_OPEN() V_OPEN_CREAT() and V_CREAT().
...
Next step is to substitute all open()'s and creat()'s in the PHP tree
2000-04-29 19:01:58 +00:00
Zeev Suraski
1a8683f976
- Never mind. Seems like we're still missing the open() functionality
2000-04-29 17:57:47 +00:00
Zeev Suraski
aecae7c3af
- Give VIRTUAL_DIR another try after testing it extensively on our web site
2000-04-29 17:51:28 +00:00
Hartmut Holzgraefe
5c5ccc9844
no more broken scripts by erroneously terminating header()'s argument
...
with a CR-LF
2000-04-28 16:47:19 +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
Thies C. Arntzen
b9387791a8
(php_module_startup) is now doing setlocale(LC_ALL, "") instead of just setlocale(LC_CTYPE, ""). suggested by Jon Forsberg <zzed@cyberdude.com>
...
# this change simply seems "right" as setlocale(LC_ALL, "") also happens in RSHUTDOWN(basic)
2000-04-28 11:09:57 +00:00
Zeev Suraski
dc8980bab2
Change to using macros
2000-04-27 20:22:40 +00:00
Zeev Suraski
39aa59bdec
More error handling work (still completely disabled)
2000-04-27 18:37:02 +00:00
Zeev Suraski
9d2738cf1d
- Fix crash bug in localtime_r. If locatime() returns NULL then also return
...
NULL
2000-04-24 16:16:45 +00:00
Zeev Suraski
972ef3f31b
- Missed second argument
2000-04-21 14:50:09 +00:00
Andi Gutmans
dd05651046
- Fix last fix for Windows
2000-04-21 14:46:24 +00:00
Andi Gutmans
36faff14b1
- Small fix to virtual_Chdir_file() to include the trailing slash when
...
the file is in the root directory.
2000-04-21 14:42:20 +00:00
Zeev Suraski
0b8369196b
A few .dsp fixes
2000-04-20 22:52:37 +00:00
Andi Gutmans
4928f63821
- Change a getcwd()
2000-04-20 21:07:39 +00:00
Andi Gutmans
c0919bbd41
- virtual_lstat() doesn't exist on Windows.
2000-04-20 17:58:25 +00:00
Andi Gutmans
503bb3bedb
- Export strlcat()/strcpy() for Frank.
...
- Windows doesn't have lstat().
2000-04-20 17:40:03 +00:00
Zeev Suraski
883bd2b1de
- Fix virtual cwd bug
...
- Add more V_STAT() V_LSTAT() changes
2000-04-20 17:24:01 +00:00
Andi Gutmans
e40268d07c
- Add missing V_STAT()
2000-04-20 16:38:08 +00:00
Colin Viebrock
7ecf70047b
*** empty log message ***
2000-04-19 23:18:15 +00:00
Zeev Suraski
9cbcade6c9
Support E_USER_* error types
2000-04-19 15:10:14 +00:00
Egon Schmid
f1c268d79a
Corrected some protos.
2000-04-18 20:00:21 +00:00
Zeev Suraski
c007a7232d
Document the ob_*() functions
2000-04-18 19:18:47 +00:00
Sascha Schumann
93135c8b32
Undefine HAVE_*_R, so that we get our replacements
2000-04-16 16:32:51 +00:00
Andi Gutmans
b8fd674453
- PHP_FOPEN -> V_FOPEN
2000-04-15 14:37:28 +00:00
Zeev Suraski
f0c7e0275f
Remove unnecessary argument
2000-04-15 14:30:18 +00:00
Andi Gutmans
1665cba750
- Change PHP_ to V_ (directory & file functions)
2000-04-15 14:20:01 +00:00
Zeev Suraski
81138a641a
Forgot to commit the php4 fixes
2000-04-15 13:53:20 +00:00
Rasmus Lerdorf
6727342b7a
Make error_prepend_string and error_append_string work
...
@Make error_prepend_string and error_append_string work
2000-04-14 14:00:32 +00:00
Rasmus Lerdorf
32a3c3987e
Undo bogus commit
2000-04-14 13:40:27 +00:00
Rasmus Lerdorf
2acd0ad1fe
I don't see why this should be gcc dependant and this fixes bugs 4140
...
and 4143
2000-04-14 13:14:30 +00:00
Andi Gutmans
7f54318897
- Turn off VIRTUAL_DIR by default
2000-04-11 17:00:21 +00:00
Zeev Suraski
8ec20a16ed
Fix another missing opened_path assignment
2000-04-10 22:50:32 +00:00