History log of /php-src/ext/standard/file.h (Results 101 – 125 of 169)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 315e0a59 27-Sep-2002 Wez Furlong

Implement stream_select() which works just like socket_select, but only on
streams.
@ - Added stream_select() which works like socket_select but only works on
@ streams returned by fope

Implement stream_select() which works just like socket_select, but only on
streams.
@ - Added stream_select() which works like socket_select but only works on
@ streams returned by fopen(), fsockopen() and pfsockopen(). (Wez)

show more ...

# c484eb8c 26-Sep-2002 Wez Furlong

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:
clas

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.

show more ...

# 4c2a9c09 26-Sep-2002 Wez Furlong

Remove an unused variable and a now-unused function.

# 3a67c677 26-Sep-2002 Wez Furlong

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

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

show more ...

# 696e0a23 25-Sep-2002 Wez Furlong

Implement persistent streams. (for pfsockopen).
Juggle some includes/definitions.
Tidy up streams use in ext/standard/file.c

# d14a7e0c 23-Sep-2002 Wez Furlong

WS

# c74b9fac 23-Sep-2002 Wez Furlong

Implement a default_socket_timeout and auto_detect_line_endings ini options.
Also move user_agent from BG to FG.

Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3, php-4.2.3RC2, php-4.2.3RC1
# 9d348ea8 20-Aug-2002 Wez Furlong

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 foll

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);

show more ...

Revision tags: dev, php-4.2.2
# c28df012 08-Jul-2002 Andi Gutmans

- Add TSRMLS_DC to prototype.

Revision tags: INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2, php-4.3.0dev, php5_5_0, RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1, php-4.2.1RC2, php-4.2.1RC1
# 76057369 30-Apr-2002 Wez Furlong

Implement user-space funtions to operate on stream contexts.

Revision tags: php-4.2.0, php-4.2.0RC4, php-4.2.0RC3
# e1d0a147 10-Apr-2002 Wez Furlong

Implement stream context and status notification system.
Bump the BC for zlib notice to a warning
# See my RFC to php-dev a few days ago

# 385b2330 05-Apr-2002 Zeev Suraski

Fix gzip/bz2 builds for Windows

Revision tags: php-4.2.0RC2
# b00d9a5b 21-Mar-2002 Hartmut Holzgraefe

added fnmatch() and glob() functions
could someone please check if i got the virtual dir stuff right?

Revision tags: php-4.2.0RC1
# 3dbde958 20-Mar-2002 Wez Furlong

Make state parameter of php_strip_tags passed by reference.
Move state tracking to stream structure.

# 14a39118 19-Mar-2002 Wez Furlong

fix for bug #16168

# 32a4f355 19-Mar-2002 Wez Furlong

register some constants for user streams

# 6abe71be 19-Mar-2002 Wez Furlong

s/fgetwrapperdata/file_get_wrapper_data/

# 06712a50 19-Mar-2002 Wez Furlong

Implement user-space streams.
There's probably room for improvement,
docs will following some time this week.

# c9d5e137 18-Mar-2002 Wez Furlong

TSRMLS related work on streams, as discussed with Zeev.
# Should be the last "broad" commit for a while
# Don't forget to make clean ; make

# 0895998b 16-Mar-2002 Wez Furlong

s/get_file_contents/file_get_contents/

# 201446c2 16-Mar-2002 Wez Furlong

Ooops.

# a184f5d1 16-Mar-2002 Wez Furlong

* formatting, plus remove some old fopen wrappers

# 0f65280c 15-Mar-2002 Wez Furlong

New PHP streams...

Revision tags: help
# 90613d22 28-Feb-2002 Sebastian Bergmann

Maintain headers.

Revision tags: php-4.1.2, BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH, php-4.1.1, PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog
# 38933514 11-Dec-2001 Sebastian Bergmann

Update headers.

1234567