Commit Graph

2337 Commits

Author SHA1 Message Date
Ilia Alshanetsky
eb58557e1c Fixed a buffer overflow that occurs when wordwrap is unable to calculate
the correct number of times the multi-byte break needs to be inserted into
the string.
2002-09-05 14:00:28 +00:00
Anantha Kesari H Y
96a4626b68 NetWare related additions/modifications 2002-09-05 12:09:57 +00:00
Anantha Kesari H Y
3e867bfdb1 NetWare related additions/modifications 2002-09-05 12:03:43 +00:00
Derick Rethans
60dcc761ac - php_error -> php_error_docref
- corrected proto of implode() (to match the docs)
2002-09-05 11:29:31 +00:00
Hartmut Holzgraefe
101d155baa in stristr:
this check was in the wrong place, the real version was some lines
below, this one assumed the type was 'string' in any case
now it looks like strstr
2002-09-05 11:12:01 +00:00
foobar
639221694f Use zend_ini_string instead of the 'alias'. 2002-09-03 22:54:02 +00:00
Jan Lehnardt
2334abeff4 - cosmetics 2002-08-31 21:43:54 +00:00
Jan Lehnardt
81dcd62bc2 - seperate registered streams.
#read: make sebastian happy ;)
2002-08-29 18:28:11 +00:00
Ilia Alshanetsky
7a7497e21b Fixed the \0 check in previous patch. 2002-08-29 15:58:33 +00:00
Ilia Alshanetsky
337448322f Fixed bug #18966 2002-08-29 15:44:00 +00:00
Jan Lehnardt
e1cac684df - fix ZTS build. thanks to edin. 2002-08-29 09:11:22 +00:00
Ilia Alshanetsky
f387972a97 Fixed compile warning (unused variable)
Added a \n separator between Addition Modules
2002-08-28 23:19:59 +00:00
Jan Lehnardt
6676617693 - add phpinfo() support for CLI.
@phpinfo() support for CLI (jan)
2002-08-28 22:31:51 +00:00
Rasmus Lerdorf
89651dabde Description didn't match the function here 2002-08-28 22:14:42 +00:00
Dan Kalowsky
936df3c34f silence build warning, added default case 2002-08-28 06:13:49 +00:00
Marcus Boerger
6063c8c478 fix fwrite to no longer apply stripslashes on input string when
magic_quotes_runtime is set On.
2002-08-26 23:18:59 +00:00
Marcus Boerger
f0b492b88d fix proto and tweak error message 2002-08-26 23:16:51 +00:00
Derick Rethans
fc7eb838fc - Whitespace 2002-08-26 09:47:46 +00:00
Derick Rethans
7edb660af9 @- Use escape_shell_cmd() to allow multiple extra parameters to the
@  invocation of the mailer as used in the fifth parameter to mail(). (Derick)
- Use escape_shell_cmd() to allow multiple extra parameters to the invocation
  of the mailer as used in the fifth parameter to mail().
2002-08-26 09:44:31 +00:00
Wez Furlong
ddddf398af WS 2002-08-25 19:44:25 +00:00
Ilia Alshanetsky
64ef43ecd4 Slight optimization of php_strtoupper & php_strtoupper functions. 2002-08-25 19:08:07 +00:00
Marcus Boerger
ba40963985 improoved error messages 2002-08-25 18:21:40 +00:00
Wez Furlong
5c6ad38c31 Prevent possible problems with include_path. 2002-08-25 12:09:57 +00:00
Wez Furlong
c7be7b55d1 Add a "closing" parameter for filters to determine if a flush is the last
flush before the stream is closed.  This allows filters to finish a chunk
and write footers etc.
2002-08-25 10:26:58 +00:00
Stefan Esser
3efb925931 Overwrite control chars in parameters with whitespace instead of truncating. 2002-08-24 11:37:50 +00:00
Marcus Boerger
149ad05b4f php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Zeev Suraski
5a5e206ec2 Fix import_request_variables() 2002-08-24 00:45:09 +00:00
foobar
ff5ed789bc style fix 2002-08-22 01:20:50 +00:00
Ilia Alshanetsky
ea1bb5e172 Added monetary.h to prevent compile warning.
Fixed a memory leak inside money_format function, which occures if the
parameters to the function are not valid.
Fixed a segmentation fault inside money_format in the event the value
to be formated is >1024 bytes.
Made the return value of money_format be null terminated.
2002-08-21 13:14:57 +00:00
Marcus Boerger
95e933fc99 Fixes array test 004.phpt. Nice copy paste error. 2002-08-21 11:23:44 +00:00
Marcus Boerger
a70640480a Patch from Melvyn Sopacua <msopacua@idg.nl> finally fixes it (bug 19006). 2002-08-21 10:42:55 +00:00
Sebastian Bergmann
090e30a863 Fix ZTS build. 2002-08-21 06:22:19 +00:00
Marcus Boerger
d3d12daec4 add ini setting precision - this does not fix the real problem here 2002-08-21 03:13:33 +00:00
Marcus Boerger
be1e23cbc9 Add var_dump float format test 2002-08-21 01:27:56 +00:00
Marcus Boerger
534a63b5af Add combined base64 and md5 test 2002-08-21 01:26:21 +00:00
Marcus Boerger
9607a482b2 fix array tests
someone must have changed precision in php.ini-dist from 14 to 12
2002-08-21 01:22:02 +00:00
Wez Furlong
9d348ea800 Implement filter API for streams.
Filters can be stacked onto a stream; more details will follow in docs and
on php-dev.

Implement "string.rot13" filter

Allows the following script:

$fp = fopen("file.txt", "r");
stream_filter_prepend($fp, "string.rot13");

// File contents will be subject to a rot13 transformation before
// being output.
fpassthru($fp);
fclose($fp);
2002-08-20 20:47:47 +00:00
Wez Furlong
a9ba30cd89 fix vim modeline 2002-08-20 20:43:45 +00:00
Marcus Boerger
0f8681fc69 Changed handling of output buffer sizes. 2002-08-20 20:07:00 +00:00
Marcus Boerger
7bd7e14e4c Changed handling of output buffer sizes.
#.c to follow
2002-08-20 20:01:14 +00:00
Derick Rethans
c20c3fc610 - Fix for the compiler on Compaq Tru64 4.0F PK3 (bug #18974) 2002-08-20 11:18:18 +00:00
Wez Furlong
5f9a5a7c8e Remove php_stream_sock_set_blocking and replace with
php_stream_set_option which can be used in a similar way as ioctl()
to set options for streams.

Current options include buffering and blocking support.

o Buffer control is support for stdio based streams.
o Blocking/non-blocking is supported for stdio and socket based streams.
2002-08-19 22:59:10 +00:00
Ilia Alshanetsky
6dbc0e5483 Convert the value of tz_minuteswest inside struct timezone on Windows to
minutes from seconds.
2002-08-19 21:59:46 +00:00
Zeev Suraski
df4fdeb54e Fix a warning 2002-08-19 20:47:42 +00:00
Sander Roobol
bed405cce4 Sync with var_unserializer.re 2002-08-19 20:02:59 +00:00
Sander Roobol
47ae4068bb Made unserialize handle floats with an E notation - bug #18654
Patch by Christophe Sollet <csollet@coleebris.com>.
(I'll commit a new var_unserializer.c in a second)
2002-08-19 19:45:46 +00:00
Stanislav Malyshev
2282ac6074 ZE2 compatibility fix
## In ZE2 the hash contains zend_class_entry *!
2002-08-19 10:58:18 +00:00
Stanislav Malyshev
05156fa349 ZE2 compatibility fix
## In ZE2 the hash contains zend_class_entry *!
2002-08-18 12:22:28 +00:00
Ilia Alshanetsky
1aea030cf2 Corrected if() syntax in previous patch. 2002-08-18 07:54:33 +00:00
Ilia Alshanetsky
d42dbfce8e Fixed a segmentation fault that would occur if an entry contained a
non-terminated enclosure. Bug #12556
2002-08-18 06:55:32 +00:00