History log of /PHP-5.6/ext/standard/file.c (Results 251 – 275 of 567)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 76ebaa6e 27-Feb-2003 Wez Furlong

- Move https:// and ftps:// wrapper registration into the openssl module.
- Expose the http:// and ftp:// wrappers as PHPAPI
- Remove unused variables


# fd61f690 27-Feb-2003 Wez Furlong

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extension

Another big commit (tm).

Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
(currently only supports OpenSSL, but could support other SSL toolkits,
and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
removing the link-time requirement for ssl:// and https:// sockets and
streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.

show more ...


# 17acc55a 26-Feb-2003 Derick Rethans

- Fix proto


# 991da298 25-Feb-2003 Moriyoshi Koizumi

Set fgetss() free from the length parameter


# 862634ff 25-Feb-2003 Ilia Alshanetsky

Added locking to streams.
Allow PHP to automatically release locks on files when terminating the
stream.
Fixed bugs in the handling of the 3rd optional parameter to flock().


# b44b0b80 24-Feb-2003 Moriyoshi Koizumi

Made fgetss() binary safe too


# 088e2692 24-Feb-2003 Wez Furlong

MFB: Bunch of streams related fixes.


# a3cb589b 24-Feb-2003 Ilia Alshanetsky

Fixed bug #22382 (fgetcsv did not handle \" correctly).


# 8908faa4 22-Feb-2003 Ilia Alshanetsky

Revent previous patch, adding of file_write_content() was premature.


# d2e2fbcc 22-Feb-2003 Ilia Alshanetsky

int/long change.


# d4e9d48b 18-Feb-2003 Moriyoshi Koizumi

Fixed bug #21689 (fgetcsv suppresses some characters before a separator)
The fix is suggested by Masahiro Nakayama <masa@sfc.wide.ad.jp>

# is* functions expect their argument to be an in

Fixed bug #21689 (fgetcsv suppresses some characters before a separator)
The fix is suggested by Masahiro Nakayama <masa@sfc.wide.ad.jp>

# is* functions expect their argument to be an integer in range of 0-255

show more ...


# 6fe4ab41 18-Feb-2003 Sara Golemon

Fix stream_filter_(ap|pre)pend to allow attaching on the read and/or write chains. Automagically decide what to do if noone tells us.


# 32165a55 18-Feb-2003 Wez Furlong

Implement new filter API, stage 1.
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c

The filters stack has been separat

Implement new filter API, stage 1.
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c

The filters stack has been separated into one chain for read and one chain
for write.

The user-space stream_filter_append() type functions currently only operate
on the read chain. They need extending to work with the write chain too.

show more ...


# 4934744b 17-Feb-2003 Zeev Suraski

Win32 build improvements


# 63c95db6 16-Feb-2003 Wez Furlong

Remove unused vars


Revision tags: php-4.3.1
# 0a18a9d7 16-Feb-2003 Wez Furlong

A add much more useful select(2) implementation than is provided by
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file de

A add much more useful select(2) implementation than is provided by
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library. In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.

show more ...


# 53b7b0eb 10-Feb-2003 Ilia Alshanetsky

Merged the flags for the file() function into a single flag.


# eefe0f1b 09-Feb-2003 Wez Furlong

ZTS fix


# f98ea4c4 09-Feb-2003 Ilia Alshanetsky

Added feature request #9173 (added stream_get_line(), this function will
read either the specified number of bytes or until the ending string is
found).


# 8b5bc3ec 09-Feb-2003 Ilia Alshanetsky

Added feature request #17983 (optional parameter to mkdir() that makes
directory creation recursive).
Fixed prototype for file() function.


# 4eae4191 09-Feb-2003 Ilia Alshanetsky

Added feature request #14097 (option allowing file() command not to include
line endings in it's output. As well as another option, which allows blank
lines to be excluded from the output).


Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# 8a9e09a4 21-Jan-2003 Ilia Alshanetsky

ARG_COUNT(ht) -> ZEND_NUM_ARGS().


# 71e9f8cd 18-Jan-2003 Ilia Alshanetsky

Removed pointless memory allocation checks.


# 7002a39f 18-Jan-2003 Wez Furlong

Fix potential problem for 64-bit architectures.


# 39aa3a5d 18-Jan-2003 Derick Rethans

- Fixed memleak in fscanf().


1...<<11121314151617181920>>...23