simplexlsxgen
simplexlsxgen copied to clipboard
How to save in to a specific folder the xlsx file generated?
I have this code:
$xlsx = Shuchkin\SimpleXLSXGen::fromArray( $fields ); $xlsx->saveAs('request.xlsx');
How can I save the file in to a specific path?
hmm if u want bowser dialog use $xlsx->downloadAs('request.xlsx'); exit();
if u want save xlsx in server specified path use $xlsx->saveAs('/backup/request.xlsx');