History log of /PHP-5.5/ext/standard/file.h (Results 101 – 125 of 128)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 824fc6a0 11-Sep-2000 Andi Gutmans

- Move php_open_temporary_file() out of file.c


# 6c4cb4c0 09-Sep-2000 Zeev Suraski

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

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.

show more ...


# 3edf46ff 08-Sep-2000 Zeev Suraski

Implement move_uploaded_file() (untested)


Revision tags: php-4.0.2, PRE_LIBMYSQL_REVERT, php-4.0.2RC1, PRE_FILE_COMPILE_API_CHANGE
# 83513d95 24-Jul-2000 David Croft

Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
Added a few RCS $Id$ tags.

# Note: I have avoided changing any .h files if the corresponding .c file
# had not alr

Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
Added a few RCS $Id$ tags.

# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.

show more ...


Revision tags: PRE_METHOD_CALL_SEPERATE_FIX_PATCH
# 16017f6d 02-Jul-2000 Sascha Schumann

Change header protection macros to conform to standard.

Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"

All identifiers that begin with an underscore and either an

Change header protection macros to conform to standard.

Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"

All identifiers that begin with an underscore and either an uppercase
letter or another underscore are always reserved for any use by the
implementation.

show more ...


# b9037f7d 02-Jul-2000 Andi Gutmans

- Make PHP compile again under Windows.
- Please be careful when you make such changes.


Revision tags: php-4.0.1pl1, php-4.0.1, php-4.0.1RC2, php-4.0.1RC, PRE_EIGHT_BYTE_ALLOC_PATCH
# 0b7fd17c 06-Jun-2000 Clayton Collie

Added sscanf() function.


# 10eb67a3 06-Jun-2000 Thies C. Arntzen

@- added fflush() function. (Eric Huss)
# the socket fsync() might not work on Win32.
#
# i'm not sure if we need any code for flushing sockets as they are
# currently alway written v

@- added fflush() function. (Eric Huss)
# the socket fsync() might not work on Win32.
#
# i'm not sure if we need any code for flushing sockets as they are
# currently alway written via write().

show more ...


Revision tags: php-4.0.0, php-4.0RC2, PHP-4.0-RC1
# 85940d67 12-Mar-2000 Kristian Köhntopp

Finished porting recode module.


# 99e0b363 06-Mar-2000 Stig Bakken

@Cleaned up extension namespace (Stig)
Cleaned up extension namespace, and changed ext/standard into one single
extension.


# 5610800a 04-Mar-2000 Andrei Zmievski

@Added ftruncate() and fstat(), courtesy of Faisal Nasim <faisal@nasim.org>


Revision tags: php-4.0b4pl1, php-4.0b4, php-4.0b4_rc1, BEFORE_SAPI_POST_PATCH_17_FEB_2000, BEFORE_SAPIFICATION_FEB_10_2000
# a753430f 01-Feb-2000 Andrei Zmievski

- Implemented socket_get_status() function. Some more stuff can be added
to it in the future.
- Renamed set_socket_timeout() to socket_set_timeout()
- Renamed set_socket_blocking() to s

- Implemented socket_get_status() function. Some more stuff can be added
to it in the future.
- Renamed set_socket_timeout() to socket_set_timeout()
- Renamed set_socket_blocking() to socket_set_blocking() but kept the
old name for compatibility. It now outputs a warning that
set_socket_timeout() is deprecated but still goes through.
@ Added socket_get_status() function. Renamed:
@ set_socket_timeout() -> socket_set_timeout()
@ set_socket_blocking() -> socket_set_blocking(). (Andrei)

show more ...


# 91bb21c5 01-Feb-2000 Andrei Zmievski

Implemented realpath().
@ Added realpath() function. (Andrei)


Revision tags: BEFORE_PRE_SHUTDOWN_REVERSE_PATCH, PRE_ISSET_TYPE, PRE_LIBZEND_TO_ZEND
# 3ee4e65c 18-Dec-1999 Zeev Suraski

More php3_ annihilation


Revision tags: PRE_RETURN_REF_MERGE, RETURN_REF_BP, PRE_RETURN_REF_PATCH
# 633d18de 24-Nov-1999 Evan Klinger

Can't forget fd_isset()


# 769e25e1 24-Nov-1999 Evan Klinger

First attempt at fd_set() and select()
# Please test thoroughly


Revision tags: ZO_B1, ZEND_OPTIMIZER_B1, php-4.0b3, PRE_USED_RETURN_VALUE_PATCH, php-4.0b3_RC5
# 5f8f410e 14-Nov-1999 Stig Bakken

@Added tmpfile() function (Stig)
Removed the mkstemp stuff and added tmpfile() function instead.


Revision tags: php-4.0b3_RC4, php-4.0b3_RC3, php-4.0b3_RC2
# b5c3c7bf 15-Oct-1999 Thies C. Arntzen

files are now resources, file.c is thread-safe, the le_ vars are no longer shared,
but they are accessible thru "php_file_le_socket(), php_file_le_uploads()..."
i also updated the ftp, pdf an

files are now resources, file.c is thread-safe, the le_ vars are no longer shared,
but they are accessible thru "php_file_le_socket(), php_file_le_uploads()..."
i also updated the ftp, pdf and file-upload stuff to match the new requirements.
@- Cleaned up File-Module (Thies)

show more ...


# 0cc16414 12-Oct-1999 Thies C. Arntzen

starting to clean-up/new API'ize and resourcify the file-stuff - nothing happened yet - just renaming things around.


Revision tags: PRE_FETCH_READ_PATCH, before-sapi-split, PRE_DELAYED_ARRAY_FETCH_PATCH, php-4.0b2
# 1b2c932c 26-Jul-1999 Andrey Hristov

More symbol work.

I've defined a few macros to help with module/request init/startup function definitions.
Basically:

PHP_MINIT_FUNCTION(module)
PHP_MSHUTDOWN_FUNCTION(modul

More symbol work.

I've defined a few macros to help with module/request init/startup function definitions.
Basically:

PHP_MINIT_FUNCTION(module)
PHP_MSHUTDOWN_FUNCTION(module)
PHP_RINIT_FUNCTION(module)
PHP_RSHUTDOWN_FUNCTION(module)
PHP_MINFO_FUNCTION(module)

These will expand to proper function prototypes.

Now to specify these in the module entry, use:

PHP_MINIT(module)
PHP_MSHUTDOWN(module)
PHP_RINIT(module)
PHP_RSHUTDOWN(module)
PHP_MINFO(module)

I've updated all modules in ext/standard and everything from ext/apache to ext/db.
If you can, please update your module to use these macros.

show more ...


Revision tags: BEFORE_NEW_OPERATOR_FIX, BEFORE_BIG_SYMBOL_CHANGE, php-4.0b1, BEFORE_REMOVING_AI_COUNT_FINAL_STEP, BEFORE_REMOVING_GC_STEP2, BEFORE_REMOVING_GC_STEP1
# 117a2fba 16-Jun-1999 Stig Bakken

* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3

* fixed some #if/#ifdef issues
* hand-patched in php3 changes from 3.0.6 to HEAD in these files:
fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch]
ext/standard/php3_string.h ext/standard/string.c
* added some new file/socket macros for more readable code:
FP_FGETS(buf,len,sock,fp,issock)
FP_FREAD(buf,len,sock,fp,issock)
FP_FEOF(sock,fp,issock)
FP_FGETC(sock,fp,issock)

show more ...


# 8c4411b5 15-Jun-1999 Stig Bakken

* reverse fsock/string import patches


# 336392ea 15-Jun-1999 Stig Bakken

* now using php4.ini instead of php3.ini
* re-imported fopen-wrappers, fsock and string code from php3
NB! I have not tested all of the imported functions yet.


Revision tags: BEFORE_PHP4_APACHE_MODULE_CHANGE
# 39691bed 16-May-1999 Sascha Schumann

conv_proto *.[ch]


# 1fb61df8 14-May-1999 Zeev Suraski

* Include all of the standard modules in internal_functions.c.in. Stig - is that
the way you intended it to be? How does the basic_functions module get in there?
* Fix to get MySQL object

* Include all of the standard modules in internal_functions.c.in. Stig - is that
the way you intended it to be? How does the basic_functions module get in there?
* Fix to get MySQL objects working, even though I'll probably make a dedicated
MySQL object in the future.

show more ...


123456