Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16236


Ignore:
Timestamp:
01/16/2011 12:24:59 AM (15 years ago)
Author:
dd32
Comment:

fsockopen, fopen: fread()+fwrite() loop, easy

streams: stream_copy_to_stream($http_handle, $new_file_handle);

HTTP Extension: I cant see a case there which allows for streaming directly to files, So will probably have to read into memory, and write it out.

cURL: Can use CURLOPT_FILE to specify where to write the output, CURLOPT_WRITEHEADER or CURLOPT_HEADERFUNCTION should be able to be used to capture the header data

Some of the classes might be able to be unset or destroyed better to decrease memory usage after a request is made.

Legend:

Unmodified
Added
Removed
Modified