TobiaszCudnik/phpquery — pull request #6 by ralph-tice (2013-01-24 22:52:35+00:00)
Title: Added WebBrowser->download()

... for example to retrieve a generated excel file
example usage:
$excelDocument = $browser->WebBrowser(null)>download('http://somesite.com/GeneratesExcel.php');
$op = fopen('excelfile.xlsx', 'w');
fwrite($op, $excelDocument);
fclose($op);