Sterling Hughes
0b9a78cb1e
@- Added the pathinfo() function. (Sterling)
2000-09-10 05:59:16 +00:00
Joey Smith
f020f3eaa5
Fix compile warnings.
2000-09-10 05:35:03 +00:00
Joey Smith
1a092713d0
@- 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.
2000-09-10 05:24:30 +00:00
Joey Smith
98cb18a7d7
Use new Zend API stuff.
2000-09-10 05:13:56 +00:00
2d5316a11c
ChangeLog update
2000-09-10 01:09:09 +00:00
d993b05a5b
NEWS update
2000-09-10 01:09:06 +00:00
Derick Rethans
eba1b6221d
- Fixed missing parameter in php_atoi
2000-09-09 23:21:44 +00:00
Stig Venaas
d8a4a9b1dd
Added IPv6 support to php_fopen_url_wrap_ftp (EPSV and php_hostconnect())
2000-09-09 21:29:37 +00:00
David Croft
e6c77fde1d
fix typo
2000-09-09 20:39:08 +00:00
Zeev Suraski
04eb5270d6
Update NEWS
2000-09-09 20:38:02 +00:00
Chuck Hagenbuch
22edfd2b3b
check the range of message numbers in imap_uid.
2000-09-09 20:26:15 +00:00
Andrei Zmievski
eb12dfc9e5
Fix attribution.
2000-09-09 16:24:06 +00:00
Zeev Suraski
bc00916346
Update NEWS
2000-09-09 16:01:40 +00:00
Zeev Suraski
4acff8f37f
Don't use unsafe sprintf()
2000-09-09 15:06:38 +00:00
Zeev Suraski
b7ecaacd07
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).
2000-09-09 15:02:15 +00:00
Derick Rethans
242139d5ac
- Fix for bug #6586
2000-09-09 12:24:20 +00:00
Stig Venaas
f802468c2a
More restrictive getaddrinfo check, better not find it than breaking builds
2000-09-09 12:09:43 +00:00
Zeev Suraski
3115a0ccfe
Fix UNIX build
2000-09-09 12:02:31 +00:00
Zeev Suraski
67f59f7b40
Check for mkstemp()
2000-09-09 11:54:04 +00:00
Zeev Suraski
6c4cb4c079
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.
2000-09-09 11:41:14 +00:00
Jouni Ahto
20fe0a5685
Fixed #6627 . Wrong logic...
2000-09-09 09:40:16 +00:00
Stig Bakken
971f8b0881
@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.
#
2000-09-09 02:39:56 +00:00
Stig Bakken
7918735b11
* compile fix
2000-09-09 01:15:50 +00:00
8d24db9ac0
ChangeLog update
2000-09-09 01:09:05 +00:00
Stig Bakken
e2cb8ec02c
* don't require "POST" section to be present (TEST, FILE and EXPECT
...
are enough)
2000-09-09 00:37:39 +00:00
Zeev Suraski
3edf46ff73
Implement move_uploaded_file() (untested)
2000-09-08 22:31:21 +00:00
Zeev Suraski
fa6bb59773
Fix build
2000-09-08 22:26:07 +00:00
Andrei Zmievski
b409d2f9ea
is_uploaded_file() is probably a better name.
2000-09-08 21:58:28 +00:00
Zeev Suraski
75086e3088
- Implemented is_upload_file()
2000-09-08 21:56:47 +00:00
Jon Parise
9a4c654606
Fix build after last commit.
2000-09-08 15:39:42 +00:00
Zeev Suraski
91c808ecc4
Restore the headers_only test to the centralized SAPI startup. If necessary, it can
...
be overriden in the activate() callback.
2000-09-08 14:43:57 +00:00
Stanislav Malyshev
d10336ec0e
Don't trust snprintf return
2000-09-08 13:19:51 +00:00
Stanislav Malyshev
522aec4443
Never trust snprintf return value
2000-09-08 12:52:05 +00:00
Stanislav Malyshev
6426d1c9ce
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.
2000-09-08 12:32:29 +00:00
foobar
24b2feff63
Fixed typo. Changed php3_error to php_error.
2000-09-08 12:28:00 +00:00
Stanislav Malyshev
df5e0cb0a5
Fix syslog call
2000-09-08 12:07:21 +00:00
foobar
4f0842663f
Changed // to /* */ comments.
2000-09-08 11:50:24 +00:00
Stanislav Malyshev
85f42b7f7a
Since we don't allow parameters for syslog, we shouln't pass the
...
string as format
2000-09-08 11:24:08 +00:00
Andi Gutmans
9b1aed8323
- Add another ..\ to the TSRM search path
2000-09-08 08:17:17 +00:00
Andi Gutmans
ed8c8539df
- Add TSRM to the apache workspace include path
2000-09-08 08:15:25 +00:00
Uwe Steinmann
81fb5a7682
- last parameter of pdf_get_parameter(), pdf_get_value() optional
...
- fixes to make it compile with sun cc
2000-09-08 06:47:04 +00:00
b0d0a483cc
ChangeLog update
2000-09-08 01:09:11 +00:00
51bc85ce5f
NEWS update
2000-09-08 01:09:08 +00:00
Derick Rethans
f501979c33
- The mcrypt extension also works with 2.4.4 since php 4.0.2
2000-09-07 21:28:28 +00:00
Stig Venaas
f68fb8fad2
Better IPv6 checking
2000-09-07 17:56:12 +00:00
Stanislav Malyshev
662c6c6c06
Fix readdir bug in libc5
...
@Fix readdir bug in libc5
# If libc5 receives 0 in *result of readdir_r, it just returns error
# That's a clear bug, so this is a workaround.
2000-09-07 17:55:53 +00:00
Andrei Zmievski
0fddc30b7a
- Converted __string_value() to toString(), since the former is obsolete.
...
- Made sure DB results are freed where necessary.
- Made DB::getAssoc() use $params if passed.
- Implemented DB::getAll().
2000-09-07 16:36:22 +00:00
Andrei Zmievski
80aa02a197
Wrap long lines.
2000-09-07 15:40:44 +00:00
Andi Gutmans
e17614722d
-
2000-09-07 15:38:22 +00:00
Andi Gutmans
fe434a05b4
- Fix crash bug on NetBSD and OpenBSD. MAXPATHLEN didn't get defined
...
correctly and caused a stack overrun. This was *hard* to debug.
2000-09-07 15:31:29 +00:00