Zeev Suraski
37fb71b9ba
Set version number on DLLs
2000-06-30 12:16:58 +00:00
Andi Gutmans
1f828a6e88
- Fix problem with DICARD_PATH being defined in windows
2000-06-29 13:31:52 +00:00
Andi Gutmans
da8843aa55
- Fix problem with VIRTUAL_DIR and relative paths containing ..
2000-06-28 17:30:30 +00:00
Andi Gutmans
eaa2a158c8
- Fix bug with VIRTUAL_DIR, .., and symlinks.
2000-06-27 18:18:18 +00:00
Zeev Suraski
cacbf1ea28
Support boolean NOT in the php.ini processor
2000-06-26 18:15:49 +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
Zeev Suraski
16c363182d
TRACK_VARS is really no longer necessary...
2000-06-26 17:11:28 +00:00
Zeev Suraski
c51ba263dd
- Fix bug in virtual dir under Windows when using absolute paths without
...
- drive letter
2000-06-26 16:24:28 +00:00
Zeev Suraski
6614e8edb4
- I wrote a long msg but the commit didn't go through.
...
- So here is the short version:
- a) Start moving to binary opens in Windows
- b) Give checkuid_mode() a small face lift including the fopen-wrappers.c
- The mode to this function should at least be a #define but that is for
- another day. Anyway this whole stuff should be given more face lifts in
- the future.
2000-06-25 17:02:59 +00:00
Andi Gutmans
303dc9e96a
- Forgot to remove comment
2000-06-24 16:24:01 +00:00
Andi Gutmans
4b5e7d6618
- Only use VIRTUAL_DIR in ZTS mode until it is thoroughly tested.
...
- Mutex popen() in Windows as the UNIX trick doesn't work there.
2000-06-24 16:10:18 +00:00
Zeev Suraski
d1a6a64675
- Make the output globals accessible from the outside world
...
- Fix Win32 compilation
2000-06-24 13:27:34 +00:00
Andi Gutmans
d8a75cf7e5
- COMPILE_ERROR should only be used in Zend
2000-06-23 13:05:06 +00:00
Sascha Schumann
2456af596f
Remove some unnecessary CLS_FETCH()s.
2000-06-23 00:53:33 +00:00
Zeev Suraski
3998034acb
Update to 4.0.1
2000-06-22 18:35:09 +00:00
Sascha Schumann
322be14458
HAVE_MEMORY_H is not used by PHP.
2000-06-21 21:48:14 +00:00
Andi Gutmans
bd900fb66b
- Make Windows compile
2000-06-16 08:02:33 +00:00
Zeev Suraski
c885f468aa
Improve timeout support - ini_get("max_execution_time", ...) works now
2000-06-16 02:27:47 +00:00
Zeev Suraski
f29eae1302
Move timeout code to Zend, allow Win32 timeouts
...
@- Implemented max_execution_time under Win32 (Zeev)
2000-06-16 01:53:35 +00:00
Andi Gutmans
e3ae196da8
- Don't need to check doc_root's length twice
2000-06-16 01:25:02 +00:00
Andi Gutmans
f8ecf34bf1
- Last one for tonight. Make sure that we don't check uninitialized
...
- memory
2000-06-16 01:23:03 +00:00
Andi Gutmans
b73a6f883d
- Last patch for tonight. A more optimized way to check for absolute path
...
- in Windows. This should be fixed to use the virtual cwd macro for
- ABSOLUTE_DIR() but I need to have time to understand the logic first
2000-06-16 01:14:08 +00:00
Andi Gutmans
70b8e3e8f6
- Missed a bracket
2000-06-16 01:08:39 +00:00
Andi Gutmans
cbfa4c88d9
- Beautify fopen-wrappers a bit.
...
- Still needs quite a lot of improvement in order to treat Windows well
2000-06-16 00:56:38 +00:00
Andi Gutmans
7d5cfd3766
- virtual_fopen() should fail on empty path
2000-06-15 18:36:46 +00:00
Andrei Zmievski
aa49d4af62
Plus a leak when both register_globals and track_vars are off.
2000-06-13 20:59:23 +00:00
Zeev Suraski
fce92e3ca2
Avoid using E_CORE_* errorlevels in any place which is not in the global startup sequence
2000-06-12 20:22:17 +00:00
Andi Gutmans
719d995a9d
- On UNIX support popen() which works with current working directory
...
- when in VIRTUAL_DIR mode.
2000-06-12 19:39:04 +00:00
Andi Gutmans
02c42362ff
- Start of popen() fix for UNIX. Still unclear what we'll do on Windows.
2000-06-12 18:48:18 +00:00
Zeev Suraski
5be482030e
Killed <?php_track_vars?>
2000-06-12 16:07:25 +00:00
Andrei Zmievski
eb4b5ffd22
(php_readdir_r) Revert that bad patch.
2000-06-12 14:11:39 +00:00
Andrei Zmievski
e008af1364
(php_readdir_r) Last argument to readdir_r was missing.
2000-06-12 13:20:38 +00:00
Sascha Schumann
fd7153b0f3
Change directory name from core to main.
2000-06-11 18:51:17 +00:00
Sascha Schumann
6df3a21309
Prepare move of the top-level source files to the core directory.
2000-06-11 18:16:37 +00:00
Thies C. Arntzen
bd593d3da6
(set_time_limit) converted to new API.
...
# for some weird reason this fixes a newly introduced crash.
2000-06-11 10:27:36 +00:00
Andi Gutmans
a1c036b8cf
- Fix bug in virtual_file_ex when the resulting path is the root.
2000-06-10 15:15:28 +00:00
Andi Gutmans
97de5b2106
- Fix PostgreSQL project file a bit.
...
- Remove some HAVE_* from config.w32.h. More can be removed. Right now
- most HAVE_*'s in config.w32.h can actually be removed as they usually are
- only used by the module itself and not by PHP. MSQL is an exception as
- log can use it too
2000-06-10 10:15:53 +00:00
Sascha Schumann
8f58728e2b
Real fix for std_syslog issue on OpenServer. This is limited to the native
...
development system (/bin/cc and icc) and does not show up with the UDK.
2000-06-09 17:21:40 +00:00
Andrei Zmievski
e52889acd9
@- Changed WDDX to always serialize arrays as structs. (Andrei)
...
Changed WDDX to always serialize arrays as structs. PR #4924
2000-06-09 13:50:39 +00:00
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
Andi Gutmans
897b413c2d
- Try and resolve the problem with current working directories not being
...
set to the script directory
2000-04-10 17:39:11 +00:00
Andi Gutmans
c981be0bca
- Don't need to extern functions
...
- Use virtual_file_ex() in expand_filepath()
2000-04-09 19:54:50 +00:00
Andi Gutmans
95f45d6c50
- Make all CVS users use the new virtual dir support.
...
Will probably disable this for the release.
2000-04-08 15:01:11 +00:00
Zeev Suraski
a0ba444959
Add a missing expand_filepath()
2000-04-07 22:10:04 +00:00
Zeev Suraski
12aae5ab66
- Fix const declaratirs in virtual cwd
...
@- Fixed a problem in include_once() with non constant arguments (Andi & Zeev,
@ Zend Engine)
2000-04-07 21:16:08 +00:00
Andi Gutmans
f118d94783
- This slipped in. Enable VIRTUAL_DIR when we're in ZTS. Eventually it
...
should always be enabled.
2000-04-07 10:26:28 +00:00
Andi Gutmans
89f99967b8
- Add wddx support to the default build
2000-04-07 10:21:17 +00:00
Zeev Suraski
3ba4105fde
Update the PHP logo
2000-04-05 21:41:38 +00:00
Andi Gutmans
49a34c6811
- Not needed anymore
2000-04-05 20:50:57 +00:00
Andi Gutmans
d7dc66bdbd
- More fixes
2000-04-05 20:49:51 +00:00
Andi Gutmans
e3bbb4bc6c
- Fix
2000-04-05 20:45:49 +00:00
Colin Viebrock
1ddc9ff852
Prettying up the output of phpinfo(). Someone has to tell me how
...
to get a new .gif logo in there, and why the ZEND_DEBUG output is
causing seg faults.
I also need to go through all the modules and fix up the output they
create.
2000-04-05 20:17:02 +00:00
Zeev Suraski
794f312176
Fix a problem with the virtual directory mechanism (corruption of the filenames to open)
2000-04-05 19:02:28 +00:00
Andi Gutmans
991f9ef9f4
- fopen and ZTS fixes
2000-04-03 17:40:44 +00:00
Zeev Suraski
69ff396312
*** empty log message ***
2000-04-02 22:15:14 +00:00
Zeev Suraski
18e0850ba1
@- Add $HTTP_POST_FILES[filename][tmp_name] - it was previously impossible to
...
@ retrieve the temporary name of an uploaded file using $HTTP_POST_FILES[] (Zeev)
- Changed IMAP Win32 definitions
2000-04-02 21:27:32 +00:00
Andi Gutmans
de0d354736
- Create dtor function
2000-04-02 20:26:06 +00:00
Andi Gutmans
d8e64d623e
- This version of chdir_file should be compatible with the Apache one.
2000-04-02 19:45:02 +00:00
Andi Gutmans
ce283e2326
- A bit more cleanups.
...
- Need to implement virtual_chdir_file() to replace chdir_file() in
sapi/apache so that we can start testing apache and debug it.
2000-04-02 19:28:25 +00:00
Andi Gutmans
6a2da70f94
- Virtual cwd compiles now (need to uncomment #define in php.h for it to
...
be enbaled right now).
It seems to work very basic stuff
2000-04-02 19:04:59 +00:00
Andi Gutmans
997e63993b
- Move to new Zend macros
2000-04-01 20:11:01 +00:00
Andi Gutmans
301f8feab4
- PHP_WIN32 is not defined here use ZEND_WIN32
2000-04-01 18:22:46 +00:00
Andi Gutmans
57b398af1f
- More virtual_cwd work
2000-04-01 18:21:03 +00:00
Andi Gutmans
a73ba4b238
- Make php_virtual_cwd compile
2000-04-01 18:11:08 +00:00
Andi Gutmans
effa5bb024
- Need zend.h for ZTS
2000-04-01 17:20:29 +00:00
Andi Gutmans
daf81344af
-
2000-04-01 17:08:03 +00:00
Andi Gutmans
8a4805c831
- Intermediate commit
2000-04-01 17:02:32 +00:00
Sascha Schumann
77688ff3b5
Up version number to 4.0RC2-dev. (4.0-dev looks too general for now.)
2000-04-01 14:39:14 +00:00
Zeev Suraski
53586378b0
@- Fix a problem when dealing with large POST blocks in CGI mode
2000-04-01 01:11:39 +00:00
Andi Gutmans
1bab18a00c
- This shouldn't do any harm and might fix a problem with Win32
2000-03-31 22:48:59 +00:00
Zeev Suraski
a82b3034b1
Several fixes, plus remove bindlib_w32 (it's more trouble than it's worth)
2000-03-31 19:46:35 +00:00
Andi Gutmans
9c3d6304dd
- Hopefully got most of them. We also need a chdir_file function like
...
for Apache.
2000-03-30 22:56:34 +00:00
Andi Gutmans
9df7df3293
- Baby steps... Use PHP_FOPEN()
2000-03-30 22:41:13 +00:00
Andi Gutmans
72b57c66f0
- Use PHP_CHDIR()
2000-03-30 22:39:29 +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
Sascha Schumann
f72bcaa648
kill warning
2000-03-30 17:55:50 +00:00
Zeev Suraski
88041c4fc7
@- Changed the Windows version of PHP so that a php.ini file is no
...
@ longer mandatory (Zeev)
2000-03-29 19:45:15 +00:00
Zeev Suraski
8c79054ad2
Package RC1
2000-03-26 19:18:59 +00:00
Zeev Suraski
863e6fd242
- Update dsp
...
- Remove unnecessary includes
2000-03-25 19:17:41 +00:00
Andi Gutmans
18e1e63e78
- Support getcwd() semantics.
...
- We need to change this whole business to work with ZTS globals
2000-03-25 16:28:16 +00:00
Andi Gutmans
5b2bad3825
- Nuke hash_*_ptr() functions
2000-03-24 11:16:24 +00:00
Andi Gutmans
7acbcc9601
- Adjust for change in zend_startup()
2000-03-21 19:04:34 +00:00
Rasmus Lerdorf
c32e09f791
As it turns out, there are some browsers that can't handle default
...
charsets. I think forcing this on is going to cause us a lot of headache,
so turn it off by default.
@ Don't default to iso-8859-1 since this confuses some browsers
2000-03-20 08:19:51 +00:00
Andi Gutmans
1c8c9ad231
- Quick fopen() support. The code needs some cleaning up and we might
...
need to think of performance issues with the strdup()'s (definitely
use strndup() and maybe try to do with less string copies).
2000-03-19 21:10:48 +00:00
Thies C. Arntzen
245428b241
fix some protos
2000-03-19 10:56:40 +00:00
Andi Gutmans
959a550780
- Fix Win32 compile
2000-03-17 10:25:23 +00:00
Andi Gutmans
cd83fb18c0
- Last one for today.
2000-03-16 22:46:53 +00:00
Andi Gutmans
b46c44b485
- Allow passing of a verify function. This way we can easily create
...
chdir() and expandpath() wrappers.
2000-03-16 22:37:59 +00:00
Andi Gutmans
1bcdb436c1
- Note quite sure why this wasn't done.
2000-03-16 21:23:24 +00:00
Sascha Schumann
2a3fdcb73d
Cleanup
2000-03-16 19:19:14 +00:00
Sascha Schumann
8c9388c984
Merge in local changes
2000-03-16 19:14:13 +00:00
Andi Gutmans
14f76028aa
- php_is_dir_ok() should work on Windows now.
2000-03-16 19:10:01 +00:00
Andi Gutmans
c46d1e3402
- Fix a leak (I think)
2000-03-16 18:56:08 +00:00
Andi Gutmans
5c281c6116
- Make it compile on Windows.
2000-03-16 18:52:15 +00:00
Sascha Schumann
f0d631ad8f
Use old_state
2000-03-16 18:41:02 +00:00
Sascha Schumann
1ed113d925
(php_check_dots) we don't need len
2000-03-16 18:37:34 +00:00
Sascha Schumann
3cb7cf43de
virtual_chdir:
...
* added error handling
* fixed the special case where there were more DIRECTORY_UPs than
directory parts (i.e. cwd is d:\foo and path is ../..)
* no spaces between # and preprocessor directive - breaks some compilers
# added directory-existence check (not activated)
2000-03-16 18:25:47 +00:00
Andi Gutmans
0583ae2648
- Add initial virtual_getcwd() and virtual_chdir() for discussing with the
...
rest of the folks
2000-03-16 16:54:42 +00:00
Andi Gutmans
c56df5cac0
- WIN32 -> PHP_WIN32
2000-03-15 19:12:41 +00:00
Zeev Suraski
d0b9a3989b
- Define these ones and declare them in modules.h
2000-03-12 18:13:01 +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
Andi Gutmans
9dca788ca0
- Don't define DEBUG anymore. Everyone should use PHP_DEBUG.
...
There are 2-3 third-party libs in PHP which use DEBUG and I left them
this way (primary example is pcrelib).
- Please test things and Andrei, can you check that pcrelib stopped
printing the warning messages?
2000-03-11 20:48:49 +00:00
Andi Gutmans
eedd3ac4d0
- Use strlcpy() insted of strcpy()
2000-03-10 18:19:08 +00:00
Thies C. Arntzen
9d0c2484c0
@- connection_aborted() and friends work again. (Thies)
2000-03-10 03:09:49 +00:00
Andrei Zmievski
9f870d1e6c
Kill warning.
2000-03-07 04:28:29 +00:00
Sam Ruby
fa7f4d1e6a
It looks like a number of "standard" extensions are now truly builtin...
2000-03-07 01:50:02 +00:00
Stig Bakken
99e0b36321
@Cleaned up extension namespace (Stig)
...
Cleaned up extension namespace, and changed ext/standard into one single
extension.
2000-03-06 20:37:11 +00:00
Sam Ruby
dc70a25a1d
Eliminate "wrong number of parameters" warning
2000-03-05 23:59:56 +00:00
Andi Gutmans
fbea48211e
- Make some fixes although there is a problem with getpid() being defined
...
in process.h as getpid(void) and thus having an arugment. We might need to
define a php_getpid() function to wrap getpid().
2000-03-05 21:40:40 +00:00
Sam Ruby
64df92e053
Fix traps due to sapi_global not being initialized when ZTS is set
...
Don't trap if php.ini can't be read
2000-03-05 21:37:47 +00:00
Sascha Schumann
2897c6fe25
Avoid the side-effect of defining function names, so that the PHP functions
...
are not renamed to their prefixed variants.
PR: #3535
2000-03-05 17:39:41 +00:00
Andi Gutmans
0a092b6226
- Fix Win32 build
2000-03-04 19:58:59 +00:00
Sascha Schumann
315999da94
Prefix some symbols with php_
...
^(pcre|Xml|XML).*
2000-03-04 14:44:01 +00:00
Zeev Suraski
d34b144061
@- Added parse_ini_file(). Currently implemented in non thread safe version
...
@ of PHP, and currently lacks section support (Zeev)
- Bring the non thread safe .dsp's uptodate
2000-03-04 02:59:14 +00:00
Sascha Schumann
3bfe29fddb
Support HP-UX 10.x non-standard time-related reentrant functions
2000-03-03 16:10:38 +00:00
Zeev Suraski
583556a3c2
@- Switched back to the old $HTTP_*_VARS[] behavior - $HTTP_GET_VARS["foo"]
...
@ and $foo are no longer references to each other, but separate variables
@ like they were prior to PHP 4.0 Beta 4 (Zeev)
2000-02-28 05:33:43 +00:00
Andi Gutmans
312071bd08
- Fix bug 3640
2000-02-27 05:22:48 +00:00
Zeev Suraski
7a955aa1c1
@- Fixed a (fairly common) situation where error_reporting values would not be
...
@ properly restored after a call to error_reporting(), in between requests (Zeev)
2000-02-26 23:50:11 +00:00
Zeev Suraski
5222c8872d
Verified $HTTP_*[] protection
2000-02-26 22:14:49 +00:00
Andrei Zmievski
137e1a1379
(php_hash_environment)
...
Fixed a bunch of memory leaks from the recent HTTP_*_VARS[] protection
patch.
2000-02-26 21:20:38 +00:00
Zeev Suraski
e5c8aeb3f1
- Protect $HTTP_POST_FILES[] as well
2000-02-26 18:59:29 +00:00
Andrei Zmievski
f7f7094bcf
Added notice about new functions.
2000-02-26 17:58:28 +00:00
Zeev Suraski
0e90b9dc83
@- The various $HTTP_*_VARS[] are now protected, and cannot be manipulated by
...
@ user input (Zeev)
This patch is untested! I'll only have time to test it thoroughly in a couple of hours...
2000-02-26 16:36:57 +00:00
Zeev Suraski
1261271839
Allow the INI callbacks to know at what stage PHP is
2000-02-26 15:36:23 +00:00
Zeev Suraski
88b31ecb28
@- The string None is now recognized as a keyword by the php.ini processor, and
...
@ can be used to denote an empty string (Zeev)
- Added None keyword support to the INI parser
- Removed specialized "none" code
2000-02-26 14:29:27 +00:00
Thies C. Arntzen
ae08e0500e
(sapi_send_headers) fix leak
2000-02-26 14:21:10 +00:00
Zeev Suraski
a508bec819
- From CODING_STANDARDS:
...
[6] NEVER USE strncat(). If you're absolutely sure you know what you're doing,
check its man page again, and only then, consider using it, and even then,
try avoiding it.
strncat() is your enemy!
- Fix several SAPI services, get rid of the default_content_type (it's always
composed of the mime type and charset now).
- Win32 works again
2000-02-26 05:03:41 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Sam Ruby
28a6ba5fc0
Win32 build error:
...
warning C4020: 'sapi_activate' : too many actual parameters
2000-02-25 23:31:42 +00:00
Sam Ruby
937db8cc80
Build failure on Win32:
...
error C2198: 'sapi_apply_default_charset' : too few actual parameters
2000-02-25 23:12:51 +00:00
Stig Bakken
d23e5d837a
@- Implemented default_charset and default_mimetype config directives (Stig)
...
Implemented default_charset and default_mimetype configuration directives.
Started implementing ticks in PHP.
2000-02-25 21:27:03 +00:00
Thies C. Arntzen
83d20ab305
fix obvious crash.
...
stig, in sgi-mode i still "only" get:
(haven't touched my .ini file in ages - and don't plan to)
X-Powered-By: PHP/4.0b5-dev
Content-type: iso-8859-1 <<< where is text/html?
2000-02-25 10:10:43 +00:00
Stig Bakken
ba03c9f2aa
started implementing directives for default mimetype/charset
2000-02-24 22:00:47 +00:00
Andrei Zmievski
7a22bb09d7
Revert the y2k ini patches.
...
# Adam's right, it shouldn't be here
2000-02-24 15:41:34 +00:00
Andrei Zmievski
f5cc1929eb
Turn on y2k_compliance by default.
2000-02-24 15:16:07 +00:00
Thies C. Arntzen
4a37c618e6
@-Fixed possible crash in request-shutdown. (Thies)
...
(pvalue_config_destructor) gets a zval* not a zval**
2000-02-24 13:39:36 +00:00
Andi Gutmans
de6c9f35a1
- MySQL now compiles right into the PHP 4 binary on Windows
2000-02-23 21:10:18 +00:00
Thies C. Arntzen
a8c7a9deb8
bump version number
2000-02-23 18:57:08 +00:00
Zeev Suraski
a763da63ad
Prepare a package
2000-02-21 16:34:50 +00:00
Uwe Steinmann
aa7efd11b7
- Ups,
2000-02-21 16:24:05 +00:00
Uwe Steinmann
5dd0055c77
- pdf_set_text_matrix() disappeared in pdflib 2.30. Put in another ifdef
...
- small fix in testdom to suppress error msg.
2000-02-21 16:23:09 +00:00
Thies C. Arntzen
361ae6886e
@- Fixed crash when magic_quotes were switched off. (Thies)
2000-02-21 12:13:27 +00:00
Zeev Suraski
021836efcb
Go B4, go!
2000-02-20 21:30:33 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Zeev Suraski
9b621d1c8f
Get the license right... (this won't make it to RC1 of B4)
2000-02-19 23:21:46 +00:00
Zeev Suraski
80ca00005f
Prepare for B4-RC1
2000-02-19 22:49:38 +00:00
Zeev Suraski
739bdec582
Worked on beautifying rfc1867.c a bit
...
@- Introduced $HTTP_POST_FILES[], that contains information about files uploaded
@ through HTTP upload (Zeev)
2000-02-19 20:12:26 +00:00
Zeev Suraski
1c4532dcbf
*** empty log message ***
2000-02-19 13:11:02 +00:00
Sascha Schumann
02d647b5f9
Fix warnings when compiling static Apache module
2000-02-18 10:13:15 +00:00
Zeev Suraski
ae22fe4c52
- Update .dsp's
...
- Fix a possible crash bug in failed file open error message
- Fix SAPI initialization issue that could lead to a crash
2000-02-18 01:52:11 +00:00