Datagrid Renderer csv and automatic file saving
| From: | Köteles Zoltán | Date: | Mon, 27 Nov 2006 13:12:56 +0000 |
| Subject: | Datagrid Renderer csv and automatic file saving | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25926@lists.php.net to get a copy of this message | ||
Hello!
$renderOptions = array(
'buildHeader' => false,
'filename' => time().'_'.$finished_id.'.csv'
);
$csv = $datagrid->render(DATAGRID_RENDER_CSV, $renderOptions);
It's just generate a file, what I can download or view. But I'd like to save automatically to a webfolder. Can I do that?
Thanks
ZoTyA