summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
Commit message (Collapse)AuthorAgeFilesLines
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* fd fixStanislav Malyshev2012-05-151-0/+14
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* Fixed compiler warningIlia Alshanetsky2011-01-171-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* - Tests and small parsing correction for php://fd wrapperGustavo André dos Santos Lopes2010-12-111-1/+1
|
* - Implemented request #26158/bug #53465 (open arbitrary file descriptor with ↵Gustavo André dos Santos Lopes2010-12-111-0/+33
| | | | fopen)
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* - Fixed bug #49286 (php://input (php_stream_input_read) is broken)Jani Taskinen2009-08-201-1/+2
|
* - WS + CS + syncJani Taskinen2009-08-201-26/+36
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Fixed bug #42473 (ob_start php://output and headers)Arnaud Le Blanc2008-11-261-7/+1
|
* MFH: Fixed bug #44818 (php://memory writeable when opened read only)Arnaud Le Blanc2008-11-111-2/+12
|
* Open STDIN and php://stdin streams with the relevantArnaud Le Blanc2008-11-041-1/+15
| | | | | | wrapper when the file descriptor is a socket (inetd, etc) Fixes bug #43731
* Allow urlencode()d filer names in php://filterArnaud Le Blanc2008-08-021-0/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Nuked ending dots from error messagesJani Taskinen2007-09-301-1/+1
|
* Proper fix for bug #39215 Inappropriate close of stdin/stdout/stderrDmitry Stogov2007-06-211-4/+12
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFH: fix #39850 (SplFileObject throws contradictory/wrong error messages ↵Antony Dovgal2006-12-181-0/+1
| | | | when trying to open "php://wrong")
* data: and php:stdin/input allow_url_include checksRasmus Lerdorf2006-11-051-1/+13
|
* Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr).Ilia Alshanetsky2006-11-031-3/+33
|
* E_ERROR > E_RECOVERABLE_ERRORIlia Alshanetsky2006-07-051-1/+1
|
* Make filters without a resource throw E_RECOVERABLE_ERROR rather thenIlia Alshanetsky2006-05-161-1/+1
| | | | | E_ERROR
* - Make SplTempFileObject work in 5.1Marcus Boerger2006-05-011-1/+21
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH (r-1.51) #32371 php://input sometimes returns duplicate dataSara Golemon2005-11-171-3/+8
|
* MFH: Nuked EOLs from error messagesfoobar2005-08-181-2/+2
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Fix #27865; don't dup STDIN, STDOUT or STDERR when running under CLI.Wez Furlong2004-04-191-3/+3
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Route mkdir()/rmdir() via wrapper ops.Sara Golemon2003-12-131-1/+3
| | | | | | Move current rmdir()/rmdir() code to plain_wrappers.c Implement mkdir()/rmdir() in ftp:// wrapper
* Route rename() via wrapper ops.Sara Golemon2003-12-121-1/+2
| | | | | | | Move current rename() code to main/streams/plain_wrapper.c Implement ftp/rename() Implement userstreams/rename()
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Setup unlink() method in wrapper_ops structure, implement unlink in ↵Sara Golemon2003-05-141-1/+2
| | | | plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops
* Changed stream filter factory to be capable of accepting a zval as a parameterMoriyoshi Koizumi2003-04-161-2/+2
| | | | | instead of a string
* Implement persistent plain file streams.Wez Furlong2003-03-181-1/+1
| | | | | | | | | | | | | | | | | Usage: php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL, STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS); the filename and mode are combined to form the hash key for the persistent list; they must be identical for this same stream to be returned again in the next request. Calling php_stream_close() on a persistent stream *will* close it, as is usual with all persistent resources in PHP/ZE. This is deliberately *not* exposed to user-space PHP at this time.
* Avoid using FILE* where possible.Wez Furlong2003-03-181-10/+18
| | | | | Tidy up handling of potential error situations for the php:// wrapper.
* Fixed compiler warnings.Ilia Alshanetsky2003-02-281-2/+2
|
* Reduce unnecessary filter applications when stream is (read|write) onlySara Golemon2003-02-201-1/+9
|
* Introduce //filter target to php: wrapper to allow inline application of ↵Sara Golemon2003-02-181-0/+56
| | | | filters during fopen() style opperations
* Use FILE*-less implementation for php://(stdin|stdout|stderr)Wez Furlong2003-02-131-7/+7
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* the apache 1.x sapi read_posts tests for SG(read_post_bytes) beingHartmut Holzgraefe2002-11-211-0/+1
| | | | | | counted up, so lets make it happy although this value is not really needed in these cases ...
* HTTP_RAW_POST_DATA BC fixesHartmut Holzgraefe2002-11-121-5/+7
| | | | | | # hopefully all done, commiting anyway to continue work on my home box php://input stream fixes (POST data handerl mangles data, CLI crashbug)
* killed some warnings identified by sebastianHartmut Holzgraefe2002-10-211-3/+3
|
* some changes to how request input data (Content-Lenght >0) is handledHartmut Holzgraefe2002-10-211-0/+57
| | | | | | | | | | | | | | - webdav-specific stuff removed (should be handled using httpd.conf LIMIT or equivalents) - always_populate_raw_post_data now working on any method, not just POST (and webdav methods with allow_webdav_methods), when Content-Length is greater zero - raw input data is also available using php://input stream, this way one doesn't have to care about memory_limit - input data is now always consumed (although maybe ignored, this fixes we had withproblems with keep-alive connections @ raw POST data is now available as php://input stream (hartmut)
* This seems to resolve the issues with fgets.Wez Furlong2002-10-051-0/+1
| | | | | | | | I've moved EOF detection into the streams layer; a stream reader implementation should set stream->eof when it detects EOF. Fixed test for user streams - it still fails but that is due to an output buffering bug.
* Rename file_get_wrapper_data -> file_get_meta_data.Wez Furlong2002-09-261-3/+5
| | | | | | | | | | 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
* Implement read buffering in streams.Wez Furlong2002-09-231-4/+4
| | | | | | | | | | | | 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.