]> granicus.if.org Git - php/log
php
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)

24 years agoFix build
Zeev Suraski [Fri, 8 Sep 2000 22:26:07 +0000 (22:26 +0000)]
Fix build

24 years agois_uploaded_file() is probably a better name.
Andrei Zmievski [Fri, 8 Sep 2000 21:58:28 +0000 (21:58 +0000)]
is_uploaded_file() is probably a better name.

24 years ago- Implemented is_upload_file()
Zeev Suraski [Fri, 8 Sep 2000 21:56:47 +0000 (21:56 +0000)]
- Implemented is_upload_file()

24 years agoFix build after last commit.
Jon Parise [Fri, 8 Sep 2000 15:39:42 +0000 (15:39 +0000)]
Fix build after last commit.

24 years agoRestore the headers_only test to the centralized SAPI startup. If necessary, it can
Zeev Suraski [Fri, 8 Sep 2000 14:43:57 +0000 (14:43 +0000)]
Restore the headers_only test to the centralized SAPI startup.  If necessary, it can
be overriden in the activate() callback.

24 years agoDon't trust snprintf return
Stanislav Malyshev [Fri, 8 Sep 2000 13:19:51 +0000 (13:19 +0000)]
Don't trust snprintf return

24 years agoNever trust snprintf return value
Stanislav Malyshev [Fri, 8 Sep 2000 12:52:05 +0000 (12:52 +0000)]
Never trust snprintf return value

24 years agoFix crash on very long error messages
Stanislav Malyshev [Fri, 8 Sep 2000 12:32:29 +0000 (12:32 +0000)]
Fix crash on very long error messages
Manual for snprintf says:
       If  the output was truncated, the return value is -1, oth-
       erwise it is the number of characters stored, not  includ-
       ing the terminating null.
And that's a blatant lie - in reality, libc 2.1 always returns number of
characters that _would be_ stored. I hate those libc bugs. Now we should go
and check every place we trusted snprintf return value.

24 years agoFixed typo. Changed php3_error to php_error.
foobar [Fri, 8 Sep 2000 12:28:00 +0000 (12:28 +0000)]
Fixed typo. Changed php3_error to php_error.

24 years agoFix syslog call
Stanislav Malyshev [Fri, 8 Sep 2000 12:07:21 +0000 (12:07 +0000)]
Fix syslog call

24 years agoChanged // to /* */ comments.
foobar [Fri, 8 Sep 2000 11:50:24 +0000 (11:50 +0000)]
Changed // to /* */ comments.

24 years agoSince we don't allow parameters for syslog, we shouln't pass the
Stanislav Malyshev [Fri, 8 Sep 2000 11:24:08 +0000 (11:24 +0000)]
Since we don't allow parameters for syslog, we shouln't pass the
string as format

24 years ago- Add another ..\ to the TSRM search path
Andi Gutmans [Fri, 8 Sep 2000 08:17:17 +0000 (08:17 +0000)]
- Add another ..\ to the TSRM search path

24 years ago- Add TSRM to the apache workspace include path
Andi Gutmans [Fri, 8 Sep 2000 08:15:25 +0000 (08:15 +0000)]
- Add TSRM to the apache workspace include path

24 years ago- last parameter of pdf_get_parameter(), pdf_get_value() optional
Uwe Steinmann [Fri, 8 Sep 2000 06:47:04 +0000 (06:47 +0000)]
- last parameter of pdf_get_parameter(), pdf_get_value() optional
- fixes to make it compile with sun cc

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

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