Sascha Schumann
4f7e6dadd8
Improve the general behaviour of stream_gets and fix its semantics
...
with regard to sockets. The behaviour should be aligned with PHP 4.2 now.
This has been verified to some degree.
If the underlying stream operations block when no new data is readable,
we need to take extra precautions.
If there is buffered data available, we check for a EOL. If it exists,
we pass the data immediately back to the caller. This saves a call
to the read implementation and will not block where blocking
is not necessary at all.
If the stream buffer contains more data than the caller requested,
we can also avoid that costly step and simply return that data.
2002-10-04 18:21:40 +00:00
Marcus Boerger
518e61de97
suggest paranthesis around || and &&
2002-10-04 17:11:35 +00:00
Sebastian Bergmann
1014d78515
Add PHP_CONFIG_FILE_SCAN_DIR.
2002-10-04 05:22:13 +00:00
Rasmus Lerdorf
989a61ed98
As discussed, add --with-config-file-scan-dir compile-time switch defining
...
a directory which will be scanned for *.ini files after the main php.ini
file has been parsed. This makes it much easier to automatically deploy
a modular PHP since adding extensions which have their own ini switches can
now be done by simply dropping a foo.ini file in the right directory and
restarting. A list of parsed ini files is maintained and shown on the
phpinfo page.
2002-10-04 04:47:35 +00:00
Marcus Boerger
3ee8172674
fix position handling
2002-10-03 16:06:41 +00:00
Yasuo Ohgaki
39b0eb9b22
Fixed broken code by Derick.
...
ob_implicit_flush() and ob_flush_all() are stopped working.
var_dump() and hightlisht_string() outputs buffer contents wrongly
with ob_implicit_flush().
Everyone should be happy now.
It was only OG(implicit_flush) interpretation issue after all.
2002-10-03 13:32:01 +00:00
James Moore
df431074de
Keep comments and code in sync.
2002-10-03 11:56:10 +00:00
Zeev Suraski
d58c3dda96
Guys, please keep K&R.
2002-10-03 11:18:39 +00:00
Sebastian Bergmann
b169932d1c
Fix warnings.
2002-10-03 11:08:09 +00:00
Derick Rethans
9b517c4b93
- Revert changed to implicit_flush behavior. The new behavior was not
...
intended in the first place.
2002-10-03 10:35:33 +00:00
Yasuo Ohgaki
6c7202e116
Added comment for php_output_set_status().
...
Please use this function if you would like to prevent unwanted flush
by implicit_flush=On or ob_implicit_flush().
2002-10-03 08:54:13 +00:00
Yasuo Ohgaki
66a50c5373
Added ob_flush_all() that flushes bufferred contents until it actually
...
sent/printed.
@ Added ob_flush_all() that flushes all buffers. (Yasuo)
2002-10-03 07:17:14 +00:00
Yasuo Ohgaki
f534dc8f47
Added missing proto and foldings.
2002-10-03 04:17:41 +00:00
Yasuo Ohgaki
22bf29384e
Move wrong output buffer usage check to ob_gzhandler init.
...
Export some output buffer functions.
2002-10-03 03:58:12 +00:00
Yasuo Ohgaki
bec4574f57
Made some functions inline.
...
Added static for unexported functions.
2002-10-03 02:55:19 +00:00
Yasuo Ohgaki
bd177ce7c1
Added ob_get_clean() and ob_get_flush().
...
Someone requested this feature before.
@ Added ob_get_clean() and og_get_flush(). (Yasuo)
2002-10-03 01:36:44 +00:00
David Reid
cf2e12a01e
Add some more BeOS support.
2002-10-02 23:48:58 +00:00
Marcus Boerger
1e6557f664
Fix implicit_flush
2002-10-02 15:36:29 +00:00
Marcus Boerger
ff51ed7c6f
Modified get_status(): Display chunk_size allways and size which is in
...
most cases initial_size as well as block_size only when used.
2002-10-02 15:10:11 +00:00
Marcus Boerger
d4bba6d158
Revisted Wez patch: chunk_size 0 means cahce the whole output. So
...
we must apply the default before calling php_enable_output_compression().
I have left the default setting in the rinit function even though i do think
it is not necessary.
2002-10-02 15:02:16 +00:00
Marcus Boerger
4a1d83aa8c
Another missing variable init
...
#Wez shouldn't "stream->filterhead->fops->flush()" affect return value also?
2002-10-02 13:25:38 +00:00
Marcus Boerger
efec24d22d
Missing variable init
2002-10-02 13:18:01 +00:00
Yasuo Ohgaki
e92abff88b
Fixed bug #17825 . Double zval_ptr_dtor().
2002-10-01 10:01:56 +00:00
Yasuo Ohgaki
3d8e33f06a
Fixed implicit flush.
2002-10-01 02:43:33 +00:00
Yasuo Ohgaki
ecf146cbce
Users can shoot themselves by their own output handler always.
...
Therefore, this check is overkill and it should be documented
limitation, IMO.
Anyway, a little optimization.
2002-09-30 23:46:43 +00:00
Wez Furlong
4356932dfe
Fix infinite recursion bug when using zlib output compression.
...
Cause: the chunk size is taken from the zlib.output_compression setting,
which is 0 or 1. This causes the block_size for output buffer to be set
to 0 (1 / 2) and thus causes infinite recursion in php_ob_allocate().
Solution: use a value of 0 for the chunk size which will use the default
sizes. Also add a sanity check which will default the block_size to 1
if it ends up as 0.
2002-09-30 10:18:06 +00:00
Ilia Alshanetsky
7f18442882
Fixed a mem leak inside the path resolving code.
2002-09-29 22:16:29 +00:00
foobar
7aaa6bd77d
ws fix
2002-09-29 19:22:39 +00:00
Sascha Schumann
e6e54605b7
Follow Yasuo's suggestion and build sapi program's under the sapi-specific
...
directory.
Move sapi-specific makefile fragments to their respective directory.
Create an embed sapi module which resides in its own dir now.
2002-09-29 16:22:49 +00:00
Derick Rethans
57b11623b9
- Fix Edin's name
2002-09-29 10:00:07 +00:00
Edin Kadribasic
946206f0d2
Added php/embed toolkit for embedding PHP engine into C/C++ applications.
...
See my post to php-dev on the subject.
2002-09-29 02:45:25 +00:00
Wez Furlong
7694770304
Rename streams functions to fit with naming conventions, adding aliases
...
for old functions where required.
Make use of recent changes to chunk size and timeout setting code.
2002-09-28 22:14:21 +00:00
Wez Furlong
9509c20941
remove chunk size setting code (it's now in streams.c).
...
Move timeout setting code.
2002-09-28 22:12:23 +00:00
Wez Furlong
393d57d5be
Differentiate between write buffer and streams read buffer sizes.
...
Add options for timeout and chunk size; previously these were only
set-able for socket streams.
2002-09-28 22:10:47 +00:00
Ilia Alshanetsky
3f8ec7e764
Fixed bug #13936
2002-09-28 20:13:28 +00:00
Rasmus Lerdorf
5a239ab059
Uh, this is what I meant to do. Fix for #19292
2002-09-28 16:27:10 +00:00
Rasmus Lerdorf
5eab8abd35
Probable fix for bug #19292
2002-09-28 16:10:43 +00:00
Wez Furlong
84e0df3dfe
Allow user streams/wrappers to implement fstat(), opendir() and stat().
2002-09-28 13:05:47 +00:00
Colin Viebrock
c7c275b741
fix phpinfo() output for better browser BC
2002-09-26 17:54:54 +00:00
Wez Furlong
a95fb6bfd6
Fix for #19580 . (Incorrectly warning about lost data when that is not the
...
case on systems without fopencookie).
2002-09-26 16:22:28 +00:00
Wez Furlong
c484eb8c97
Fix segfault in wrapper error log mechanism when errors are logged on
...
second and subsequent events.
Implement very simple recursion protection for user streams written
like this:
class urlEncodeStream {
var $fp = NULL;
function stream_open($path, $mode, $options, &$opened_path)
{
$this->fp = fopen($path, $mode); // <-- this recurses infinitely
return is_resource($this->fp);
}
}
file_register_wrapper('urlencode', 'urlEncodeStream');
$fp = fopen('urlencode:///tmp/outputfile.txt', 'w');
Noticed by: Yasuo.
2002-09-26 12:12:27 +00:00
Wez Furlong
3a67c67737
Rename file_get_wrapper_data -> file_get_meta_data.
...
It now always returns useful information for all streams.
Unified that data with socket_get_status and made socket_get_status
an alias for file_get_meta_data.
Fix Location header following which was broken in this commit:
http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h
2002-09-26 10:14:41 +00:00
Sascha Schumann
6816ba4b32
We are about to enter 2003, sending two-digit years does not make too
...
much sense anymore. According to an article from '98, only Netscape 3.x was
affected anyway.
2002-09-25 16:11:31 +00:00
Wez Furlong
696e0a2301
Implement persistent streams. (for pfsockopen).
...
Juggle some includes/definitions.
Tidy up streams use in ext/standard/file.c
2002-09-25 15:25:12 +00:00
Wez Furlong
ba2dc46117
Correct a buglet in the newly introduced buffer code.
...
# Andi: this might have been the cause of that problem you mentioned.
2002-09-23 23:39:46 +00:00
Wez Furlong
a2c344fa67
Ensure that the seekable stream returned for include("http://") under win32
...
is based on a temporary file rather than a memory stream.
2002-09-23 19:10:33 +00:00
Wez Furlong
031f019351
Enable include("http://....") under win32 by downloading to a temporary
...
stream so that flex will get on nicely with the content.
# untested; theoretically it should work just fine.
2002-09-23 19:07:38 +00:00
Wez Furlong
c6fdce6891
Remove allow_url_fopen checks from the user streams code.
...
Rationale: user streams might not be implementing network access,
and the administrator can disable the file_register_wrapper function
and other network access functions if s/he does not want to allow
this functionality.
2002-09-23 18:18:40 +00:00
Wez Furlong
c74b9faca5
Implement a default_socket_timeout and auto_detect_line_endings ini options.
...
Also move user_agent from BG to FG.
2002-09-23 18:12:39 +00:00
Wez Furlong
a3cda3b32d
Hopefully fix the other warnings that my last warning-fixing commit caused.
2002-09-23 15:21:16 +00:00
Wez Furlong
ad4afdf827
fix some warnings.
2002-09-23 14:50:21 +00:00
Zeev Suraski
85f4abfdac
Fix bug #19525
2002-09-23 14:18:42 +00:00
Wez Furlong
9e84b3d5b5
Revise buffer/seek code a little.
...
Tidy up user streams even more.
Make test case quite aggressive.
2002-09-23 13:22:10 +00:00
Zeev Suraski
2f4ed252de
Compat fix
2002-09-23 12:10:07 +00:00
Wez Furlong
4d8a07d529
Implement read buffering in streams.
...
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle them appropriately.
The default behaviour is unix (and dos) line endings.
An ini option to control this behaviour will follow.
# Don't forget to make clean!
# I've done some testing but would appreciate feedback from
# people with scripts/extensions that seek around a lot.
2002-09-23 01:47:04 +00:00
Ilia Alshanetsky
e489ee946e
Fixed bug #19395
2002-09-22 18:30:38 +00:00
Sander Roobol
90407dbf3e
Changing the magic_quotes_gpc setting has no effect at USER level
...
# this partially fixes the #19526 shit
2002-09-20 18:07:48 +00:00
Colin Viebrock
14a6cc8847
Change phpinfo() to use CSS styling instead of HTML code.
...
It doesn't render as nicely as it used to on older browsers, but it
does result in smaller files, and opens the door to using your own CSS
to style it differently.
There is a patch to Zend/zend_ini.c, but I don't have enough Karma, so
Derick has the patch.
2002-09-19 21:57:25 +00:00
Zeev Suraski
3ae3eb06e9
Fix connection_status()
2002-09-19 15:54:23 +00:00
Zeev Suraski
76312b4508
another startup initialization fix - only ISAPI and CGI SAPI's tested,
...
minor compile buglets might occur in other SAPIs, but should be trivial
to fix...
2002-09-18 21:57:42 +00:00
Wez Furlong
ff7bece5bb
Tidy up some user stream code.
...
Add a small test case (not yet complete).
2002-09-18 10:15:40 +00:00
Zeev Suraski
31429c60db
Call zend_post_startup() - use local copies of the function, class and
...
constant tables in the startup thread
2002-09-17 09:07:10 +00:00
Stefan Esser
714eb8069a
made new ssl activate function the default.
2002-09-12 21:52:09 +00:00
Anantha Kesari H Y
d3642b5488
NetWare related changes/modifications
2002-09-11 09:30:01 +00:00
Anantha Kesari H Y
3313593ff3
NetWare related changes/modifications
2002-09-09 12:03:36 +00:00
Anantha Kesari H Y
3798528753
NetWare related changes/modifications
2002-09-09 11:43:50 +00:00
Anantha Kesari H Y
1b18be126d
NetWare related changes/modifications
2002-09-09 11:31:03 +00:00
Anantha Kesari H Y
1e09610f45
NetWare related changes/modifications
2002-09-09 11:23:11 +00:00
Anantha Kesari H Y
fa94fc6384
NetWare related changes/modifications
2002-09-09 11:17:40 +00:00
Anantha Kesari H Y
e4b9df9585
NetWare related changes/modifications
2002-09-09 10:56:28 +00:00
Stefan Esser
cbf5e3ca06
Added possibility to reuse an old SSL session id.
...
Ugly but needed for f.e.: debians ftpd-ssl
2002-09-08 22:26:11 +00:00
Yasuo Ohgaki
71fb0299d1
Added missing charset.
2002-09-08 01:06:29 +00:00
Yasuo Ohgaki
b83255aab0
Fix last commit. This line isn't supposed to be replaced.
2002-09-08 00:27:05 +00:00
Yasuo Ohgaki
17e0d9c642
MFB
2002-09-07 21:04:14 +00:00
Wez Furlong
3df412cf9b
Fix a couple of bad pointer indirections (oops).
...
Lets stick to a single category of "http" for the "user_agent"
context override.
2002-09-07 20:58:30 +00:00
Wez Furlong
759a0068aa
Tag user streams as being URLs, so that safe mode restrictions
...
will come into play.
2002-09-07 18:59:18 +00:00
Hartmut Holzgraefe
431b903e97
WebDAV MKCOL can have post data body, see rfc2518 8.3.1
2002-09-07 17:48:51 +00:00
Anantha Kesari H Y
8b8f1e0590
NetWare related additions/modifications
2002-09-05 14:25:07 +00:00
Stefan Esser
27e2bc2f55
This 2 lines should have been removed when the header() code was rewritten.
2002-09-04 20:27:35 +00:00
Sebastian Bergmann
419321979d
Don't build ext/overload with Zend Engine 2.
2002-09-04 13:55:52 +00:00
Rui Hirokawa
7678ada2b8
--enable-mbstr-enc-trans is abolished to prevent some problems about POST/GET/Cookie variables. the same functionality is controllable in php.ini option mbstring.encoding_translation (default:Off).
2002-09-03 05:18:20 +00:00
Markus Fischer
f07b724620
- Enable strcoll() for win32 build
...
# Maybe I'm missing something. PHP has strcoll() since 4.0.5 but HAVE_STRCOLL
# was always only available under Unix, no one activated it for Win32 since
# then?
#
# Test to show it works:
# <? $a=array("a", "z", "ä"); setlocale(LC_ALL, "German"); usort($a, "strcoll"); var_dump($a); ?>
#
# Output:
# array(3) {
# [0]=>
# string(1) "a"
# [1]=>
# string(1) "ä"
# [2]=>
# string(1) "z"
# }
#
# Thanks to a comment found on the usort() page and to a dlcp post about a
# similar issue.
#
# Worth for a MFH for 4.2.3, anyone ?
2002-09-02 18:03:24 +00:00
Sebastian Bergmann
714c19fe66
Per discussion on #php.bugs (+1 from at least Derick and Jani), revert double_buffering.
2002-09-01 11:33:19 +00:00
Jan Lehnardt
d6497fc96e
- reenable "no value" output. thanks to sebastian for pointing that out.
2002-08-29 10:24:02 +00:00
Jan Lehnardt
6676617693
- add phpinfo() support for CLI.
...
@phpinfo() support for CLI (jan)
2002-08-28 22:31:51 +00:00
Sebastian Bergmann
e8b50bc834
Fix ZTS build.
2002-08-25 22:17:56 +00:00
Marcus Boerger
a1f7bb12f1
use php_error_docref()
2002-08-25 18:45:02 +00:00
Marcus Boerger
8638bb882f
Removed __output_handler as everybody seems against such implicit
...
behaviour. Instead supply error message.
2002-08-25 14:20:37 +00:00
Marcus Boerger
6d97e0c3eb
Use zend_is_callable() instead of php_check_object_method_array() and
...
drop the latter. THX to Markus Fischer - i did not recognize this function.
@Expanded ob_start() to allow object parameters without methodnames and
@use default method __output_handler(). (Marcus)
2002-08-25 12:16:48 +00:00
Wez Furlong
95ffc663d9
Fix open_basedir.
2002-08-25 12:10:17 +00:00
Marcus Boerger
08ab630dc7
Reenable array(object,method) in ob_start()
2002-08-25 11:50:25 +00:00
Wez Furlong
e286b286ae
Hopefully really fix #18022 this time.
2002-08-25 11:23:19 +00:00
Wez Furlong
6d2fb45328
Potential fix for Bug#18022:
...
Streams that are pipes on systems that HAVE_FLUSHIO should not be seeked
as is required for plain files on those systems.
2002-08-25 11:02:05 +00:00
Wez Furlong
509ad5ec0f
Unify error messages.
2002-08-25 10:36:08 +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
Wez Furlong
27adb75585
Remove php_stream_error as discussed with Rasmus.
...
Unify error messages for ext/ftp. (which was using php_stream_error).
2002-08-25 10:10:23 +00:00
Wez Furlong
2a71d7d5bb
Respect safe mode setting when opening scripts and things for the ZE.
2002-08-23 17:39:20 +00:00
Zeev Suraski
a6e8e72372
Fix ob_gzhandler()'s handling of requests w/o compression but that do have
...
the Accept-Encoding header
2002-08-23 08:37:35 +00:00
Wez Furlong
3d8b6c2d52
Add a configure check to see if the seeker function in an fopencookie
...
uses off_t or the newer, more portable "fpos_t *".
The check could perhaps be more refined, as the test program will segfault
on older systems (like mine) that use off_t.
2002-08-22 22:28:19 +00:00
Wez Furlong
5718112088
Fix compile warnings under win32
2002-08-22 17:42:18 +00:00
Marcus Boerger
28970b9260
fix warning
2002-08-22 10:52:40 +00:00
Marcus Boerger
4c1f3dec65
fix php_error_docref parameters
2002-08-22 10:16:03 +00:00
Christian Stocker
55f3ec1af4
do not check for POST twice
2002-08-22 07:56:39 +00:00
Christian Stocker
9495fb9d7d
@ - Added php.ini option "allow_webdav_methods" to allow handling of
...
@ WebDAV http requests within PHP scripts. (chregu)
# More methods (for DeltaV) will follow.
2002-08-22 07:48:23 +00:00
Marcus Boerger
5e7a9af062
full decopling of size parameters of ob_start() and internal buffer handlers
...
#intended behaviour is now fully implemented,
2002-08-21 03:04:17 +00:00
Marcus Boerger
b6cf2bb4bc
make snprintf and f,g,G converions of snprintf/spprintf C99 complient
2002-08-21 01:11:50 +00:00
Marcus Boerger
b98c26382f
Ignore double_buffering for ob_start().
2002-08-21 01:00:56 +00:00
Marcus Boerger
8e10659648
Revert ob_start() defaults to 40K/10K until i find a better solution.
2002-08-20 23:23:25 +00:00
Wez Furlong
03b8214b9d
Fix newly introduced leak in the debug build.
2002-08-20 22:08:55 +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
Marcus Boerger
2a443b2e77
Changed handling of output buffer sizes.
...
@Added php.ini option "double_buffering" that forces an additional first
@output buffer and improved handling of buffer sizes. (Marcus)
2002-08-20 19:49:37 +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
Zeev Suraski
bc906117bb
Fix a few warnings
2002-08-19 20:47:55 +00:00
Marcus Boerger
8b30aeacd8
-use of php_error_docref
...
-some more information in ob_get_status()
2002-08-19 18:47:23 +00:00
Marcus Boerger
3408366776
-allow changing html_errors any time changing display_errors is already
...
-use sizeof for strftime call
-removed unused #define
-mention CODING_STANDARDS as documentation
2002-08-19 18:40:28 +00:00
Stig Venaas
fcc0380588
Added --enable-ipv6 and only look up AAAA in DNS when enabled
2002-08-17 13:56:39 +00:00
Stefan Esser
20693c1ad4
IE does not use quotes but now we are safe...
2002-08-17 11:48:21 +00:00
Stefan Esser
ecaa0a091a
fixed the user supplied patch for bug #18792
2002-08-17 11:31:06 +00:00
Dan Kalowsky
6c22f90b4a
Fix for bug #18792 submitted by t.bubeck@reinform.de
...
# talked this over with sterling and he believes it shouldn't break anything
# although there might be a need/desire to check for both ',' and ';'
2002-08-16 19:34:43 +00:00
Wez Furlong
2e4b6ef181
Fix a little leak.
2002-08-16 12:02:42 +00:00
Wez Furlong
c2cbae6dd3
Enhance Ilia's recent patch to query the wrapper subsystem to determine
...
if a filename is a URL and thus if safe-mode checks should be skipped.
2002-08-16 09:50:24 +00:00
Ilia Alshanetsky
a643ae656a
Make https:// be exempt from safe_mode checks, just like http:// & ftp:// are.
2002-08-16 03:52:37 +00:00
Dan Kalowsky
1b8dd7f355
silencing some windows build warnings
2002-08-15 00:41:35 +00:00
Dan Kalowsky
4feff54879
Correcting as per discussion with Iliaa and Edin on efnet://#php.bugs
2002-08-13 14:56:50 +00:00
Dan Kalowsky
1027dfcdd1
Bug Fix #16113 , as reflective of a php-dev convo between wez and iliaa
2002-08-13 14:39:03 +00:00
Marcus Boerger
968721bc55
allow target anchor only for docref parameter
2002-08-13 09:37:51 +00:00
Rasmus Lerdorf
3ffe4cb1ff
bool not boolean
2002-08-13 04:37:28 +00:00
Rasmus Lerdorf
34362341e9
Use int, not integer.
2002-08-13 04:31:59 +00:00
Marcus Boerger
1134977baf
fix for extension = ""
...
make php_verror available
2002-08-12 20:12:31 +00:00
Marcus Boerger
11611d0781
increase allocation chunks
2002-08-12 14:02:51 +00:00
Edin Kadribasic
553b7d27bf
Export spprintf() so that extension can link properly on win32.
2002-08-12 09:07:26 +00:00
Preston L. Bannister
e1658ed6c4
Minor cleanups to path building and php*.ini search logic.
...
Made path_seperator string static (which solves the lookup problems Sebastian saw).
2002-08-12 05:37:03 +00:00
Wez Furlong
bcef712ad6
Properly implement TSRM parameters to the new log_error
...
function... (Thanks Marcus!)
Add a convenience macro for importing a stream from a zval.
2002-08-11 14:29:01 +00:00
Wez Furlong
94be838dc1
More verbosity when activating SSL on a socket fails.
2002-08-11 11:25:24 +00:00
Wez Furlong
5a21ab42cb
Introduce an error stack for wrappers, to help prevent multiple errors
...
and warnings (some of which are bogus) when there are problems opening
streams.
Implement sanity check on the mode used to open ftp and http connections.
This fixes Bug 12004.
2002-08-11 10:53:10 +00:00
Wez Furlong
1861f1bae3
Minor fix for html_errors=on in php_error_docref.
2002-08-11 09:52:06 +00:00
Wez Furlong
1144bdb04d
remove obsolete TSRMLS_FETCH
2002-08-10 20:20:55 +00:00
Marcus Boerger
21903dfc7e
corrected handling of internal output buffers
...
minor fixs
2002-08-10 16:12:36 +00:00
Sebastian Bergmann
7c08781d50
Fix ZTS builds.
2002-08-10 03:03:03 +00:00
Marcus Boerger
9c8ba935d6
Improved handling of output buffers (see news)\n#No trim for the string parameter...
2002-08-09 22:29:58 +00:00
Marcus Boerger
2e29e53e00
docref shall either be NULL or a reference to a manual page without an
...
extension or an external reference starting with 'http://'.
2002-08-09 21:57:03 +00:00
Wez Furlong
ccb5c84b6c
Centralize some blocking socket related code.
...
# It's been a while since I wrote this!
2002-08-09 21:02:36 +00:00
James Cox
1ae29d455c
@Copy() fixed to return 1 on 0 byte files. Patch by Ilia A <ilia@prohost.org>.
2002-08-09 00:33:06 +00:00
Marcus Boerger
e11e0b0ec0
No missleading
2002-08-08 22:11:24 +00:00
Marcus Boerger
976a91a55b
Say FIXME to non function calls and non TSRM builds. Both will currentls
...
not show a default reference.
2002-08-08 19:36:49 +00:00
Marcus Boerger
88c385e817
rename php_error_func<n> to php_error_docref and support Wez idea
...
that solves ToDo requirement to point to PHP Manual in error messages.
2002-08-08 19:12:27 +00:00
Stefan Esser
6f822fdcb7
A full hard disk is no reason to leak memory...
2002-08-08 12:40:51 +00:00
Yasuo Ohgaki
6ad0dbf5fa
Add some assertion
2002-08-08 03:08:54 +00:00
Marcus Boerger
e50228ab5b
-new functions php_error_func<0> to support unified error messages
...
#read followup
2002-08-07 18:29:36 +00:00
Marcus Boerger
6d21c9465d
Added php_ob_handler_used to check if a specific output handler is used
...
in c.
2002-08-05 18:54:53 +00:00