get('f',"number")); $file= fopen('php://output',"a+"); header('Pragma: public'); header('Content-type: application/bin'); header('Content-Disposition: attachment;filename="export.bin"',FALSE); $rap->export_csv($file); ?>