Feature Request #4416

Response::send_file(): ability to pass an existing ressource

Added by Michael Fleischhauer 4 months ago.

Status:New Start date:01/24/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Core
Target version:-
Resolution: Points:1

Description

$handle = fopen("php://memory", "rw"); 

// ...
// do some fancy stuff
// ...

$this->response->send_file($handle, '500MB.xml');

Also available in: Atom PDF