]> granicus.if.org Git - php/log
php
24 years agoFixed bug #6740.
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.

24 years agoChangeLog update
<changelog@php.net> [Thu, 14 Sep 2000 01:09:10 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Thu, 14 Sep 2000 01:09:07 +0000 (01:09 +0000)]
NEWS update

24 years agoAdded prototypes for socketpair() and shutdown(), and corrected an obvious
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.)

24 years ago- Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
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)

24 years agoCreate module info function.
Andrei Zmievski [Wed, 13 Sep 2000 20:58:19 +0000 (20:58 +0000)]
Create module info function.

24 years agoChanged the php.ini examples to match the names in the source code.
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.

24 years agoReally fix the de-allocation.
Andrei Zmievski [Wed, 13 Sep 2000 15:31:50 +0000 (15:31 +0000)]
Really fix the de-allocation.

24 years agoFixed block overrun.
Andrei Zmievski [Wed, 13 Sep 2000 13:55:35 +0000 (13:55 +0000)]
Fixed block overrun.

24 years ago- a comma sneaked in before the java extension
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?

24 years agoadded note about odbc support and changed to the appropriate names of the windows...
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

24 years agoPEAR:
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)

24 years agoPEAR:
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)

24 years ago- The Sprit of PHP is to have descriptive function names and not
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?

24 years agoChangeLog update
<changelog@php.net> [Wed, 13 Sep 2000 01:09:10 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Wed, 13 Sep 2000 01:09:07 +0000 (01:09 +0000)]
NEWS update

24 years agoupdated some functions'name using obsolete name convention.
Rui Hirokawa [Tue, 12 Sep 2000 23:19:58 +0000 (23:19 +0000)]
updated some functions'name using obsolete name convention.

24 years agoThanks, Adam
Zeev Suraski [Tue, 12 Sep 2000 20:57:21 +0000 (20:57 +0000)]
Thanks, Adam

24 years ago@- Made the Sybase CT module thread safe (Zeev)
Zeev Suraski [Tue, 12 Sep 2000 20:54:36 +0000 (20:54 +0000)]
@- Made the Sybase CT module thread safe (Zeev)

24 years ago- Made eval() and several other runtime-evaluated code portions report the
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)

24 years agoMake compile_string() accept a description of the code
Zeev Suraski [Tue, 12 Sep 2000 19:47:25 +0000 (19:47 +0000)]
Make compile_string() accept a description of the code

24 years agoForgot to update proto.
Andrei Zmievski [Tue, 12 Sep 2000 19:04:50 +0000 (19:04 +0000)]
Forgot to update proto.

24 years ago@- Added second argument to array_reverse() that indicatese whether
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)

24 years agoreversed chomp alias addition as per Andi Gutmans' request
Daniel Beckham [Tue, 12 Sep 2000 19:00:21 +0000 (19:00 +0000)]
reversed chomp alias addition as per Andi Gutmans' request

24 years ago# missed proto comments
Rasmus Lerdorf [Tue, 12 Sep 2000 17:24:46 +0000 (17:24 +0000)]
# missed proto comments

24 years agoClean up htmlspecialchars/htmlentities inconsistencies.
Rasmus Lerdorf [Tue, 12 Sep 2000 17:22:37 +0000 (17:22 +0000)]
Clean up htmlspecialchars/htmlentities inconsistencies.
@Clean up htmlspecialchars/htmlentities inconsistencies. (Rasmus)

24 years agoadded chomp() alias for chop() for us Perl purists.
Daniel Beckham [Tue, 12 Sep 2000 15:54:10 +0000 (15:54 +0000)]
added chomp() alias for chop() for us Perl purists.

24 years agoFix notice.
Andrei Zmievski [Tue, 12 Sep 2000 13:19:37 +0000 (13:19 +0000)]
Fix notice.

24 years agoMake parse_str always register globals with 1 argument and never -
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

24 years agoA quick attempt to make parse_str($str,$arr) not register globals.
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.

24 years ago- Fix contribution
Derick Rethans [Tue, 12 Sep 2000 05:53:49 +0000 (05:53 +0000)]
- Fix contribution

24 years ago- Always use V_* macros even if logic seems to be only using fullpath.
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.

24 years ago- Fix bug #5997
Andi Gutmans [Tue, 12 Sep 2000 04:13:21 +0000 (04:13 +0000)]
- Fix bug #5997

24 years ago- Fix the function names here too.
Jouni Ahto [Tue, 12 Sep 2000 02:45:14 +0000 (02:45 +0000)]
- Fix the function names here too.

24 years agoChangeLog update
<changelog@php.net> [Tue, 12 Sep 2000 01:09:14 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Tue, 12 Sep 2000 01:09:11 +0000 (01:09 +0000)]
NEWS update

24 years ago@PEAR: renamed DB_GETMODE_* to DB_FETCHMODE_*, added setFetchMode()
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)

24 years ago- Renamed functions so that this extension finally starts to follow the
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.

24 years ago- Fix for bug #6673
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)

24 years ago- Windows and UNIX compile fixes
Andi Gutmans [Mon, 11 Sep 2000 19:14:42 +0000 (19:14 +0000)]
- Windows and UNIX compile fixes

24 years ago- Get rid of stuff which is already done in php.h
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.

24 years ago- Remove #if 0 code
Andi Gutmans [Mon, 11 Sep 2000 19:04:23 +0000 (19:04 +0000)]
- Remove #if 0 code

24 years ago- Add config_common.h to dsp
Andi Gutmans [Mon, 11 Sep 2000 18:59:32 +0000 (18:59 +0000)]
- Add config_common.h to dsp

24 years ago- Move php_open_temporary_file() out of file.c
Andi Gutmans [Mon, 11 Sep 2000 18:56:47 +0000 (18:56 +0000)]
- Move php_open_temporary_file() out of file.c

24 years ago- Use the same check for existence of a valid link as the other functions.
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.

24 years agoKill a warning
Sascha Schumann [Mon, 11 Sep 2000 16:25:36 +0000 (16:25 +0000)]
Kill a warning

24 years agoAdd proper struct sockaddr * casts and make use of memcpy/memset ('coz we
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).

24 years ago- Added functions pg_putline and pg_endcopy (thanks to Dirk Elmendorf
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)

24 years agoSolaris-readdir_r-wants-large-buffer fix
Sascha Schumann [Mon, 11 Sep 2000 15:25:06 +0000 (15:25 +0000)]
Solaris-readdir_r-wants-large-buffer fix
Libc5-readdir_r workaround

24 years agoLibc5-readdir_r workaround
Sascha Schumann [Mon, 11 Sep 2000 15:24:28 +0000 (15:24 +0000)]
Libc5-readdir_r workaround

24 years ago- Forgot to create extended info in include()/require() call
Andi Gutmans [Mon, 11 Sep 2000 15:15:57 +0000 (15:15 +0000)]
- Forgot to create extended info in include()/require() call

24 years ago- Testing 1 2 3
Andi Gutmans [Mon, 11 Sep 2000 15:15:29 +0000 (15:15 +0000)]
- Testing 1 2 3

24 years ago- Testing 1 2 3
Andi Gutmans [Mon, 11 Sep 2000 15:14:56 +0000 (15:14 +0000)]
- Testing 1 2 3

24 years ago(PHP parse_str) ParameterPassedByReference() check is not necessary.
Andrei Zmievski [Mon, 11 Sep 2000 14:54:12 +0000 (14:54 +0000)]
(PHP parse_str) ParameterPassedByReference() check is not necessary.

24 years agoAdd additional parameter to parse_str for saving result (thanks to
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)

24 years ago(PHP pathinfo) Fixed more typos.
Andrei Zmievski [Mon, 11 Sep 2000 13:54:59 +0000 (13:54 +0000)]
(PHP pathinfo) Fixed more typos.

24 years ago(PHP pathinfo) Fixed leaks, saved some memory allocations, added
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.

24 years agoFix attribution.
Andrei Zmievski [Mon, 11 Sep 2000 13:18:49 +0000 (13:18 +0000)]
Fix attribution.

24 years agoFixed bug #6356.
foobar [Mon, 11 Sep 2000 13:01:07 +0000 (13:01 +0000)]
Fixed bug #6356.

24 years ago- Should fix compile warning
Andi Gutmans [Mon, 11 Sep 2000 04:31:04 +0000 (04:31 +0000)]
- Should fix compile warning

24 years ago@- Fix bug with curl places extra data in the output. (medvitz@medvitz.net)
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)

24 years agoChangeLog update
<changelog@php.net> [Mon, 11 Sep 2000 01:09:11 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Mon, 11 Sep 2000 01:09:08 +0000 (01:09 +0000)]
NEWS update

24 years agoFix compile warning.
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.

24 years agophp4ize a bit.
Sterling Hughes [Sun, 10 Sep 2000 21:07:18 +0000 (21:07 +0000)]
php4ize a bit.
fix a little bit of grammar.

24 years agoFix attribution.
Sterling Hughes [Sun, 10 Sep 2000 20:57:22 +0000 (20:57 +0000)]
Fix attribution.

24 years agoMake unpack("H") work like in Perl
Stanislav Malyshev [Sun, 10 Sep 2000 13:47:51 +0000 (13:47 +0000)]
Make unpack("H") work like in Perl

24 years agoFix pack() function reading string beyond the end
Stanislav Malyshev [Sun, 10 Sep 2000 13:34:03 +0000 (13:34 +0000)]
Fix pack() function reading string beyond the end

24 years agoAllow require_once to take expressions, just like require
Stanislav Malyshev [Sun, 10 Sep 2000 11:24:45 +0000 (11:24 +0000)]
Allow require_once to take expressions, just like require

24 years agoFix double unpack bug
Stanislav Malyshev [Sun, 10 Sep 2000 11:03:32 +0000 (11:03 +0000)]
Fix double unpack bug

24 years agoTry once more to remove dups
Stanislav Malyshev [Sun, 10 Sep 2000 09:49:55 +0000 (09:49 +0000)]
Try once more to remove dups

24 years agoTest commit - weed out duplicate messages
Stanislav Malyshev [Sun, 10 Sep 2000 09:49:02 +0000 (09:49 +0000)]
Test commit - weed out duplicate messages

24 years agoA tiny fix to the getaddrinfo check
Stig Venaas [Sun, 10 Sep 2000 09:35:48 +0000 (09:35 +0000)]
A tiny fix to the getaddrinfo check

24 years agorefining getaddrinfo check further, checking that struct addrinfo is there
Stig Venaas [Sun, 10 Sep 2000 08:09:21 +0000 (08:09 +0000)]
refining getaddrinfo check further, checking that struct addrinfo is there

24 years ago@- Added the pathinfo() function. (Sterling)
Sterling Hughes [Sun, 10 Sep 2000 05:59:16 +0000 (05:59 +0000)]
@- Added the pathinfo() function. (Sterling)

24 years agoFix compile warnings.
Joey Smith [Sun, 10 Sep 2000 05:35:03 +0000 (05:35 +0000)]
Fix compile warnings.

24 years ago@- Updated sybase_ct module and its sybase_query to use high performance API.
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.

24 years agoUse new Zend API stuff.
Joey Smith [Sun, 10 Sep 2000 05:13:56 +0000 (05:13 +0000)]
Use new Zend API stuff.

24 years agoChangeLog update
<changelog@php.net> [Sun, 10 Sep 2000 01:09:09 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Sun, 10 Sep 2000 01:09:06 +0000 (01:09 +0000)]
NEWS update

24 years ago- Fixed missing parameter in php_atoi
Derick Rethans [Sat, 9 Sep 2000 23:21:44 +0000 (23:21 +0000)]
- Fixed missing parameter in php_atoi

24 years agoAdded IPv6 support to php_fopen_url_wrap_ftp (EPSV and php_hostconnect())
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())

24 years agofix typo
David Croft [Sat, 9 Sep 2000 20:39:08 +0000 (20:39 +0000)]
fix typo

24 years agoUpdate NEWS
Zeev Suraski [Sat, 9 Sep 2000 20:38:02 +0000 (20:38 +0000)]
Update NEWS

24 years agocheck the range of message numbers in imap_uid.
Chuck Hagenbuch [Sat, 9 Sep 2000 20:26:15 +0000 (20:26 +0000)]
check the range of message numbers in imap_uid.

24 years agoFix attribution.
Andrei Zmievski [Sat, 9 Sep 2000 16:24:06 +0000 (16:24 +0000)]
Fix attribution.

24 years agoUpdate NEWS
Zeev Suraski [Sat, 9 Sep 2000 16:01:40 +0000 (16:01 +0000)]
Update NEWS

24 years agoDon't use unsafe sprintf()
Zeev Suraski [Sat, 9 Sep 2000 15:06:38 +0000 (15:06 +0000)]
Don't use unsafe sprintf()

24 years agoMore security-related (control) patches:
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).

24 years ago- Fix for bug #6586
Derick Rethans [Sat, 9 Sep 2000 12:24:20 +0000 (12:24 +0000)]
- Fix for bug #6586

24 years agoMore restrictive getaddrinfo check, better not find it than breaking builds
Stig Venaas [Sat, 9 Sep 2000 12:09:43 +0000 (12:09 +0000)]
More restrictive getaddrinfo check, better not find it than breaking builds

24 years agoFix UNIX build
Zeev Suraski [Sat, 9 Sep 2000 12:02:31 +0000 (12:02 +0000)]
Fix UNIX build

24 years agoCheck for mkstemp()
Zeev Suraski [Sat, 9 Sep 2000 11:54:04 +0000 (11:54 +0000)]
Check for mkstemp()

24 years agoSecurity related updates:
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.

24 years agoFixed #6627. Wrong logic...
Jouni Ahto [Sat, 9 Sep 2000 09:40:16 +0000 (09:40 +0000)]
Fixed #6627. Wrong logic...

24 years ago@Added a more configurable error reporting interface to DB.
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.
#

24 years ago* compile fix
Stig Bakken [Sat, 9 Sep 2000 01:15:50 +0000 (01:15 +0000)]
* compile fix

24 years agoChangeLog update
<changelog@php.net> [Sat, 9 Sep 2000 01:09:05 +0000 (01:09 +0000)]
ChangeLog update

24 years ago* don't require "POST" section to be present (TEST, FILE and EXPECT
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)

24 years agoImplement move_uploaded_file() (untested)
Zeev Suraski [Fri, 8 Sep 2000 22:31:21 +0000 (22:31 +0000)]
Implement move_uploaded_file() (untested)