L
L
Lomoson2014-06-08 23:11:45
PHP
Lomoson, 2014-06-08 23:11:45

How to upload a large amount of data to .xlsx/.xls

The option from PEAR is not suitable. There is a limit on the number of characters.
PHPExcel is not suitable because it eats a lot of memory.
Issuing a binary with Content-Type: application/xls to the browser is not suitable. the file must have a column with the date/number type.
Putting ∞ RAM is not an option.
I think to unpack xlsx and php to generate the same files, but this is a bit inadequate ...
Tell me, please, what should I do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Facetrollex, 2014-06-09
@Facetrollex

I think to unpack xlsx and php to generate the same files, but this is a bit inadequate...

Quite normal, and should work quickly.
Did the same myself. Collected style files, data, etc. => Packed => Renamed to xls.

W
whats, 2014-06-09
@whats

Collect csv - convert to xlsx using Unoconv - then open in the same PHPExcel and set the column type.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question