Harald Radi
c3867a7c8e
HEAD defaults to build with ZE2 now
2003-01-10 23:36:18 +00:00
Ilia Alshanetsky
9b560970f8
Fixed compiler warnings.
2003-01-09 22:33:43 +00:00
Sara Golemon
4d789b593f
Bug #21531 file_exists() and other filestat functions throw errors when in safe mode and file/directory does not exist.
...
Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown.
2003-01-09 21:57:45 +00:00
Zeev Suraski
d35ddb740e
Time for an update
2003-01-09 10:03:26 +00:00
Ilia Alshanetsky
a7ac507ade
Fixed bug #21499 (more descriptive message in the event of require/include
...
failure).
2003-01-08 02:44:09 +00:00
Stefan Esser
58d65abbcb
Adding support for anonymous fileuploads ( #21450 )
2003-01-06 23:51:28 +00:00
Wez Furlong
39848ce35c
Fix for Bug #20827 : where stat is a macro on Tru64.
...
Patch from <julien.soula@free.fr >
2003-01-06 23:27:03 +00:00
Wez Furlong
52a3c29e22
Fix for bug #21406 ; infinite loop during filter flushing.
2003-01-06 14:00:57 +00:00
Sara Golemon
42e912da79
Expose stream_filters_hash so that it can be searched by stream_get_filters()
2003-01-06 04:06:40 +00:00
Zeev Suraski
968f3f9a12
Remove unnnecessary initialization
2003-01-05 16:11:10 +00:00
Sebastian Bergmann
b5d97e5ddb
Revert config.w32.h.in -> config.w32.h build step per discussion with Zeev.
2003-01-05 15:58:29 +00:00
Anantha Kesari H Y
3e2f1526bc
A new file added and some old files modified for NetWare.
2003-01-03 12:48:14 +00:00
Derick Rethans
b9e54cb693
- Fixed bug #21169 : Compile Failure, and lots of warnings on UnixWare
2003-01-02 18:01:10 +00:00
Derick Rethans
da9eb594c6
- Fix warnings on UnixWare
2003-01-02 13:31:10 +00:00
Wez Furlong
a28eaf64d0
Workaround for glibc 2.2.9x and later "a+" bug that does not seek to EOF for
...
files fopen()ed with that mode.
2003-01-01 09:58:17 +00:00
Sebastian Bergmann
2c5d4b8c23
Bump year.
2002-12-31 15:59:15 +00:00
Ilia Alshanetsky
87a8b04051
Fix ZTS build.
2002-12-31 00:04:52 +00:00
Ilia Alshanetsky
0acb52fc3b
Fixed bug #21228 (broken check for ob_gzhandler).
...
Fixed a bug that made ob_start return incorrect return value.
2002-12-30 19:39:31 +00:00
Derick Rethans
d454becda8
- Whitespace
2002-12-30 15:03:50 +00:00
Ilia Alshanetsky
1f50681813
Fixed bug #21149 (fixed handling of unterminated '[').
2002-12-29 21:02:17 +00:00
Edin Kadribasic
46219c714d
MFB:
...
Made ZLIB extension built in on Windows. Fixes #21139 .
2002-12-26 13:40:32 +00:00
Wez Furlong
05ea039144
MFB: fpos_t -> off_t
2002-12-23 02:56:46 +00:00
Wez Furlong
efea12fec5
Fix for Bug #21131 : fopen($file, 'a+') would incorrectly assume that
...
the stream position was at offset 0.
This corrects that assumption by querying the stream for it's position
when it detects the 'a' "flag" in the mode parameter to fopen.
Also added a test for plain files and amended the userstreams test to
take this into account.
2002-12-22 18:05:36 +00:00
Wez Furlong
90c478664a
A Simple fix for Bug #12360 (fsockopen timeout doesn't work).
...
Analysis:
On systems with HAVE_GETADDRINFO and IPV6 support, php_hostconnect would
attempt to connect to each possible address that matched the requested IP.
If the remote host:port combination are dropping packets this would cause the
first connection to timeout (after waiting for the full timeout duration).
PHP would then attempt the second address and wait the full duration again.
Solution:
If the first connection attempt times out, abort the connection loop.
2002-12-22 13:55:45 +00:00
Wez Furlong
602734c7d9
Correct mistake introduced by my last commit on these files;
...
*_from_pipe() is for process-pipes created by fopen, not generic pipes
created from proc_open().
Correctly implemented the fifo/pipe check for *_from_file() and it seems
to be working correctly now.
2002-12-19 20:23:50 +00:00
Ilia Alshanetsky
5bad812dad
A better, strtok() free implementaion of php_disable_functions().
2002-12-16 15:43:52 +00:00
Stefan Esser
75d8056e11
cleanup
2002-12-14 10:45:25 +00:00
Wez Furlong
c5d4e4b321
MFB: popen/pclose and proc_open/proc_close fixes.
2002-12-12 17:51:25 +00:00
Ilia Alshanetsky
60a5aeef43
Fixed a few compile warnings and one compile error.
2002-12-10 20:16:30 +00:00
Ilia Alshanetsky
e982d5c7f0
MFB
2002-12-10 16:39:59 +00:00
Ilia Alshanetsky
3c9a6a8890
Removed one more unneeded check.
2002-12-10 15:58:31 +00:00
Ilia Alshanetsky
ecc9c539d2
Removed a pointless check. Thanks Stefan.
2002-12-10 15:36:26 +00:00
Wez Furlong
5029c73096
Emulate fopencookie on *BSD systems.
...
Patch mostly from Melvyn Sopacua <msopacua@idg.nl >
2002-12-09 16:14:28 +00:00
Wez Furlong
164130ed22
MFB: #20831 fix
2002-12-09 10:38:35 +00:00
Ilia Alshanetsky
683251eba3
Fixed bug #20796 . $_GET/$_POST/$_COOKIE data can get overwritten when
...
register_globals are on and input contains arrays.
2002-12-07 16:05:27 +00:00
Ilia Alshanetsky
8425dbd0bc
Fixed bugs #20725 & #20860 . Post form variables get lost if the uploaded
...
files cannot be written to disk.
2002-12-07 00:48:13 +00:00
Marcus Boerger
4ce4a1c32c
php_error -> php_error_docref
2002-12-05 21:53:25 +00:00
Marcus Boerger
8ed84254cd
-php_error -> php_error_docref
2002-12-05 21:46:08 +00:00
Moriyoshi Koizumi
c7a0b0d262
Reverted wrong part of the commit made in 1.24
2002-12-02 20:11:59 +00:00
Shane Caraveo
a3bd39429c
Fix CGI to match cgi spec.
...
This patch properly fixes support for CGI in PHP. For backwards compatible
broken behaviour, cgi.fix_pathinfo can be set to zero in php.ini.
CGI failed to work under apache at all, either using the cgi-script directive
or as a ScriptAlias setup. Typicaly it would try to parse itself. This will
still happen if you dissable fix_pathinfo, and set DISCARD_PATH.
This also fixes PATH_INFO, and finally we can run pres2 under cgi or fastcgi.
This patch has been tested under Apache 1.3, 2.0, IIS, as both cgi and fastcgi,
on Windows and OSX. A followup patch with build stuff for linux will follow.
2002-12-01 21:37:14 +00:00
Shane Caraveo
529762a21a
php_error_docref aborts cgi. This broke using php as cgi under
...
apache/mod_cgi with the cgi-script directive and bang lines in php scripts.
removing it allows this to work again.
2002-12-01 21:28:27 +00:00
Sascha Schumann
2b95b3c83b
add a "force HTTP/1.0 response" facility to the SAPI layer
...
this is necessary, when you want to take over control of a connection
and the web server is doing stupid things by default (like enabling
chunked transfer encoding for no reason).
2002-12-01 03:28:21 +00:00
Marcus Boerger
0d7957bc15
Bug #20433
2002-11-30 18:36:17 +00:00
foobar
7f48a6f13b
MFB
2002-11-29 14:48:17 +00:00
foobar
dd53efc196
- Made the STANDARD_SAPI_MODULE_PROPERTIES be what it says it is.
2002-11-26 05:57:06 +00:00
Sascha Schumann
09f463ddae
Add sapi_get_fd() and implement it for the Apache/thttpd SAPIs.
2002-11-26 05:15:55 +00:00
Hartmut Holzgraefe
8bd550825f
email address change
2002-11-25 12:30:28 +00:00
Marcus Boerger
517af84b0a
MFB: Fix memleak in debug mode
2002-11-23 01:24:08 +00:00
Stefan Esser
9dae1475ef
little fix
2002-11-22 19:34:17 +00:00
Marcus Boerger
b7cd48efdd
Make it possible to test language features like newly introduced 'abstract'
...
independantly from debug mode.
2002-11-21 14:56:06 +00:00