]>
granicus.if.org Git - php/log
Andrei Zmievski [Thu, 14 Sep 2000 15:44:36 +0000 (15:44 +0000)]
Fixed bug #6740.
I happen to think that this is php_addslashes() problem, not PCRE's.
When 0 is passed for the length of the string to php_addslashes() it
assumes that we want to process the whole string and happily runs
strlen() on it. That is bad. It should respect the length and return
an empty string if it's 0.
<changelog@php.net> [Thu, 14 Sep 2000 01:09:10 +0000 (01:09 +0000)]
ChangeLog update
<changelog@php.net> [Thu, 14 Sep 2000 01:09:07 +0000 (01:09 +0000)]
NEWS update
Chris Vandomelen [Wed, 13 Sep 2000 23:33:39 +0000 (23:33 +0000)]
Added prototypes for socketpair() and shutdown(), and corrected an obvious
bug in socketpair (causing it to not return the created sockets to the PHP
script.)
Derick Rethans [Wed, 13 Sep 2000 22:00:31 +0000 (22:00 +0000)]
- Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
@ Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
@ (Derick)
Andrei Zmievski [Wed, 13 Sep 2000 20:58:19 +0000 (20:58 +0000)]
Create module info function.
Hénot David [Wed, 13 Sep 2000 16:12:50 +0000 (16:12 +0000)]
Changed the php.ini examples to match the names in the source code.
Andrei Zmievski [Wed, 13 Sep 2000 15:31:50 +0000 (15:31 +0000)]
Really fix the de-allocation.
Andrei Zmievski [Wed, 13 Sep 2000 13:55:35 +0000 (13:55 +0000)]
Fixed block overrun.
Daniel Beulshausen [Wed, 13 Sep 2000 13:27:52 +0000 (13:27 +0000)]
- a comma sneaked in before the java extension
- added the java configuration section
#can you please add the setting for *nix as well?
Daniel Beulshausen [Wed, 13 Sep 2000 13:03:01 +0000 (13:03 +0000)]
added note about odbc support and changed to the appropriate names of the windows extensions
Stig Bakken [Wed, 13 Sep 2000 11:27:59 +0000 (11:27 +0000)]
PEAR:
* added $debuginfo parameter to PEAR_Error constructor
* put last query in $debuginfo from DB_common::raiseError()
@PEAR: add last executed query as debug info in DB errors (Stig)
Stig Bakken [Wed, 13 Sep 2000 07:39:54 +0000 (07:39 +0000)]
PEAR:
* show what's going on when PEAR files are installed
* allow multiple modes (or'ed) in PEAR_Error
@PEAR: allow multiple modes in PEAR_Error (Stig)
Andi Gutmans [Wed, 13 Sep 2000 04:13:36 +0000 (04:13 +0000)]
- The Sprit of PHP is to have descriptive function names and not
necessarily short ones. Maybe we should have some FAQ for this?
<changelog@php.net> [Wed, 13 Sep 2000 01:09:10 +0000 (01:09 +0000)]
ChangeLog update
<changelog@php.net> [Wed, 13 Sep 2000 01:09:07 +0000 (01:09 +0000)]
NEWS update
Rui Hirokawa [Tue, 12 Sep 2000 23:19:58 +0000 (23:19 +0000)]
updated some functions'name using obsolete name convention.
Zeev Suraski [Tue, 12 Sep 2000 20:57:21 +0000 (20:57 +0000)]
Thanks, Adam
Zeev Suraski [Tue, 12 Sep 2000 20:54:36 +0000 (20:54 +0000)]
@- Made the Sybase CT module thread safe (Zeev)
Zeev Suraski [Tue, 12 Sep 2000 20:48:33 +0000 (20:48 +0000)]
- Made eval() and several other runtime-evaluated code portions report the
nature and location of errors more accurately (Stas)
Zeev Suraski [Tue, 12 Sep 2000 19:47:25 +0000 (19:47 +0000)]
Make compile_string() accept a description of the code
Andrei Zmievski [Tue, 12 Sep 2000 19:04:50 +0000 (19:04 +0000)]
Forgot to update proto.
Andrei Zmievski [Tue, 12 Sep 2000 19:03:59 +0000 (19:03 +0000)]
@- Added second argument to array_reverse() that indicatese whether
@ the original array keys should be preserved. (Andrei)
Daniel Beckham [Tue, 12 Sep 2000 19:00:21 +0000 (19:00 +0000)]
reversed chomp alias addition as per Andi Gutmans' request
Rasmus Lerdorf [Tue, 12 Sep 2000 17:24:46 +0000 (17:24 +0000)]
# missed proto comments
Rasmus Lerdorf [Tue, 12 Sep 2000 17:22:37 +0000 (17:22 +0000)]
Clean up htmlspecialchars/htmlentities inconsistencies.
@Clean up htmlspecialchars/htmlentities inconsistencies. (Rasmus)
Daniel Beckham [Tue, 12 Sep 2000 15:54:10 +0000 (15:54 +0000)]
added chomp() alias for chop() for us Perl purists.
Andrei Zmievski [Tue, 12 Sep 2000 13:19:37 +0000 (13:19 +0000)]
Fix notice.
Stanislav Malyshev [Tue, 12 Sep 2000 10:56:25 +0000 (10:56 +0000)]
Make parse_str always register globals with 1 argument and never -
with 2 arguments
Stanislav Malyshev [Tue, 12 Sep 2000 10:54:45 +0000 (10:54 +0000)]
A quick attempt to make parse_str($str,$arr) not register globals.
Derick Rethans [Tue, 12 Sep 2000 05:53:49 +0000 (05:53 +0000)]
- Fix contribution
Andi Gutmans [Tue, 12 Sep 2000 04:18:20 +0000 (04:18 +0000)]
- Always use V_* macros even if logic seems to be only using fullpath.
Andi Gutmans [Tue, 12 Sep 2000 04:13:21 +0000 (04:13 +0000)]
- Fix bug #5997
Jouni Ahto [Tue, 12 Sep 2000 02:45:14 +0000 (02:45 +0000)]
- Fix the function names here too.
<changelog@php.net> [Tue, 12 Sep 2000 01:09:14 +0000 (01:09 +0000)]
ChangeLog update
<changelog@php.net> [Tue, 12 Sep 2000 01:09:11 +0000 (01:09 +0000)]
NEWS update
Stig Bakken [Tue, 12 Sep 2000 00:27:50 +0000 (00:27 +0000)]
@PEAR: renamed DB_GETMODE_* to DB_FETCHMODE_*, added setFetchMode()
@ in DB_common to set the default mode, added some MySQL tests (Stig)
Jouni Ahto [Mon, 11 Sep 2000 21:28:47 +0000 (21:28 +0000)]
- Renamed functions so that this extension finally starts to follow the
recommended naming scheme of PHP.
Derick Rethans [Mon, 11 Sep 2000 20:06:24 +0000 (20:06 +0000)]
- Fix for bug #6673
- Added a "cut" option to wordwrap (as per feature request #6429)
@ Added an optional parameter to wordwrap that cuts a string if the length
of a word is longer than the maximum allowed with (Derick)
Andi Gutmans [Mon, 11 Sep 2000 19:14:42 +0000 (19:14 +0000)]
- Windows and UNIX compile fixes
Andi Gutmans [Mon, 11 Sep 2000 19:11:03 +0000 (19:11 +0000)]
- Get rid of stuff which is already done in php.h
- More can probably be removed as the code doesn't use lots of sys calls.
Andi Gutmans [Mon, 11 Sep 2000 19:04:23 +0000 (19:04 +0000)]
- Remove #if 0 code
Andi Gutmans [Mon, 11 Sep 2000 18:59:32 +0000 (18:59 +0000)]
- Add config_common.h to dsp
Andi Gutmans [Mon, 11 Sep 2000 18:56:47 +0000 (18:56 +0000)]
- Move php_open_temporary_file() out of file.c
Jouni Ahto [Mon, 11 Sep 2000 18:34:06 +0000 (18:34 +0000)]
- Use the same check for existence of a valid link as the other functions.
- Return TRUE if everything went OK.
- Fixed the number of arguments to pg_endcopy.
- Removed unused variables.
- Indentation, changed spaces to tabs.
Sascha Schumann [Mon, 11 Sep 2000 16:25:36 +0000 (16:25 +0000)]
Kill a warning
Sascha Schumann [Mon, 11 Sep 2000 16:19:53 +0000 (16:19 +0000)]
Add proper struct sockaddr * casts and make use of memcpy/memset ('coz we
don't provide any fallbacks for bcopy/bzero).
Derick Rethans [Mon, 11 Sep 2000 15:34:14 +0000 (15:34 +0000)]
- Added functions pg_putline and pg_endcopy (thanks to Dirk Elmendorf
<delmendo@rackspace.com>)
@ Added functions pg_putline and pg_endcopy (Dirk Elmendorf)
Sascha Schumann [Mon, 11 Sep 2000 15:25:06 +0000 (15:25 +0000)]
Solaris-readdir_r-wants-large-buffer fix
Libc5-readdir_r workaround
Sascha Schumann [Mon, 11 Sep 2000 15:24:28 +0000 (15:24 +0000)]
Libc5-readdir_r workaround
Andi Gutmans [Mon, 11 Sep 2000 15:15:57 +0000 (15:15 +0000)]
- Forgot to create extended info in include()/require() call
Andi Gutmans [Mon, 11 Sep 2000 15:15:29 +0000 (15:15 +0000)]
- Testing 1 2 3
Andi Gutmans [Mon, 11 Sep 2000 15:14:56 +0000 (15:14 +0000)]
- Testing 1 2 3
Andrei Zmievski [Mon, 11 Sep 2000 14:54:12 +0000 (14:54 +0000)]
(PHP parse_str) ParameterPassedByReference() check is not necessary.
Stanislav Malyshev [Mon, 11 Sep 2000 14:50:26 +0000 (14:50 +0000)]
Add additional parameter to parse_str for saving result (thanks to
John Bafford <dshadow@zort.net>)
@ Added second parameter for parse_str to save result (John Bafford)
Andrei Zmievski [Mon, 11 Sep 2000 13:54:59 +0000 (13:54 +0000)]
(PHP pathinfo) Fixed more typos.
Andrei Zmievski [Mon, 11 Sep 2000 13:52:22 +0000 (13:52 +0000)]
(PHP pathinfo) Fixed leaks, saved some memory allocations, added
more error checking.
Andrei Zmievski [Mon, 11 Sep 2000 13:18:49 +0000 (13:18 +0000)]
Fix attribution.
foobar [Mon, 11 Sep 2000 13:01:07 +0000 (13:01 +0000)]
Fixed bug #6356.
Andi Gutmans [Mon, 11 Sep 2000 04:31:04 +0000 (04:31 +0000)]
- Should fix compile warning
Sterling Hughes [Mon, 11 Sep 2000 03:33:14 +0000 (03:33 +0000)]
@- Fix bug with curl places extra data in the output. (medvitz@medvitz.net)
<changelog@php.net> [Mon, 11 Sep 2000 01:09:11 +0000 (01:09 +0000)]
ChangeLog update
<changelog@php.net> [Mon, 11 Sep 2000 01:09:08 +0000 (01:09 +0000)]
NEWS update
Sterling Hughes [Sun, 10 Sep 2000 23:18:11 +0000 (23:18 +0000)]
Fix compile warning.
Fix proto.
Change PHP_MINFO output to be consistent.
Sterling Hughes [Sun, 10 Sep 2000 21:07:18 +0000 (21:07 +0000)]
php4ize a bit.
fix a little bit of grammar.
Sterling Hughes [Sun, 10 Sep 2000 20:57:22 +0000 (20:57 +0000)]
Fix attribution.
Stanislav Malyshev [Sun, 10 Sep 2000 13:47:51 +0000 (13:47 +0000)]
Make unpack("H") work like in Perl
Stanislav Malyshev [Sun, 10 Sep 2000 13:34:03 +0000 (13:34 +0000)]
Fix pack() function reading string beyond the end
Stanislav Malyshev [Sun, 10 Sep 2000 11:24:45 +0000 (11:24 +0000)]
Allow require_once to take expressions, just like require
Stanislav Malyshev [Sun, 10 Sep 2000 11:03:32 +0000 (11:03 +0000)]
Fix double unpack bug
Stanislav Malyshev [Sun, 10 Sep 2000 09:49:55 +0000 (09:49 +0000)]
Try once more to remove dups
Stanislav Malyshev [Sun, 10 Sep 2000 09:49:02 +0000 (09:49 +0000)]
Test commit - weed out duplicate messages
Stig Venaas [Sun, 10 Sep 2000 09:35:48 +0000 (09:35 +0000)]
A tiny fix to the getaddrinfo check
Stig Venaas [Sun, 10 Sep 2000 08:09:21 +0000 (08:09 +0000)]
refining getaddrinfo check further, checking that struct addrinfo is there
Sterling Hughes [Sun, 10 Sep 2000 05:59:16 +0000 (05:59 +0000)]
@- Added the pathinfo() function. (Sterling)
Joey Smith [Sun, 10 Sep 2000 05:35:03 +0000 (05:35 +0000)]
Fix compile warnings.
Joey Smith [Sun, 10 Sep 2000 05:24:30 +0000 (05:24 +0000)]
@- Updated sybase_ct module and its sybase_query to use high performance API.
(sybase_query) Use high performance API in sybase_query. Will work on the others later.
Joey Smith [Sun, 10 Sep 2000 05:13:56 +0000 (05:13 +0000)]
Use new Zend API stuff.
<changelog@php.net> [Sun, 10 Sep 2000 01:09:09 +0000 (01:09 +0000)]
ChangeLog update
<changelog@php.net> [Sun, 10 Sep 2000 01:09:06 +0000 (01:09 +0000)]
NEWS update
Derick Rethans [Sat, 9 Sep 2000 23:21:44 +0000 (23:21 +0000)]
- Fixed missing parameter in php_atoi
Stig Venaas [Sat, 9 Sep 2000 21:29:37 +0000 (21:29 +0000)]
Added IPv6 support to php_fopen_url_wrap_ftp (EPSV and php_hostconnect())
David Croft [Sat, 9 Sep 2000 20:39:08 +0000 (20:39 +0000)]
fix typo
Zeev Suraski [Sat, 9 Sep 2000 20:38:02 +0000 (20:38 +0000)]
Update NEWS
Chuck Hagenbuch [Sat, 9 Sep 2000 20:26:15 +0000 (20:26 +0000)]
check the range of message numbers in imap_uid.
Andrei Zmievski [Sat, 9 Sep 2000 16:24:06 +0000 (16:24 +0000)]
Fix attribution.
Zeev Suraski [Sat, 9 Sep 2000 16:01:40 +0000 (16:01 +0000)]
Update NEWS
Zeev Suraski [Sat, 9 Sep 2000 15:06:38 +0000 (15:06 +0000)]
Don't use unsafe sprintf()
Zeev Suraski [Sat, 9 Sep 2000 15:02:15 +0000 (15:02 +0000)]
More security-related (control) patches:
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Implemented file_uploads on/off directive (defaults to on).
Derick Rethans [Sat, 9 Sep 2000 12:24:20 +0000 (12:24 +0000)]
- Fix for bug #6586
Stig Venaas [Sat, 9 Sep 2000 12:09:43 +0000 (12:09 +0000)]
More restrictive getaddrinfo check, better not find it than breaking builds
Zeev Suraski [Sat, 9 Sep 2000 12:02:31 +0000 (12:02 +0000)]
Fix UNIX build
Zeev Suraski [Sat, 9 Sep 2000 11:54:04 +0000 (11:54 +0000)]
Check for mkstemp()
Zeev Suraski [Sat, 9 Sep 2000 11:41:14 +0000 (11:41 +0000)]
Security related updates:
- Introduce php_open_temporary_file(), in place of tempnam(). Still
needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the mechanism for unlinking uploaded files at the end of the request
(was it ever tested?). Files moved with move_uploaded_file() will not be unlink()'d
again, to avoid (albeit very unlikely) race conditions.
Jouni Ahto [Sat, 9 Sep 2000 09:40:16 +0000 (09:40 +0000)]
Fixed #6627. Wrong logic...
Stig Bakken [Sat, 9 Sep 2000 02:39:56 +0000 (02:39 +0000)]
@Added a more configurable error reporting interface to DB.
Added a more configurable error reporting interface to DB.
Also added some more tests, and moved the DB tests to pear/DB/tests.
#Usage example that prints and exits on every error:
#$dbh = DB::connect($dsn);
#$dbh->setErrorHandling(PEAR_ERROR_DIE);
#
#Example with plain callback function:
#$dbh->setErrorHandling(PEAR_ERROR_CALLBACK, "errorHandler");
#
#Example with object callback function:
#$dbh->setErrorHandling(PEAR_ERROR_CALLBACK, array($obj, "errorHandler"));
#
#Handler functions/methods are called with the error object as a parameter.
#
Stig Bakken [Sat, 9 Sep 2000 01:15:50 +0000 (01:15 +0000)]
* compile fix
<changelog@php.net> [Sat, 9 Sep 2000 01:09:05 +0000 (01:09 +0000)]
ChangeLog update
Stig Bakken [Sat, 9 Sep 2000 00:37:39 +0000 (00:37 +0000)]
* don't require "POST" section to be present (TEST, FILE and EXPECT
are enough)
Zeev Suraski [Fri, 8 Sep 2000 22:31:21 +0000 (22:31 +0000)]
Implement move_uploaded_file() (untested)