S
S
smoln2018-08-07 13:26:54
PHP
smoln, 2018-08-07 13:26:54

How to read xls file created with php and html only?

Good afternoon, there is a file that was created using the php html bundle (example

), that is, when opened on a computer, it swears that the format is incorrect, but it still opens.
How can I read this file using php (or additional libraries), I read it using PhpSpreadsheet, but it says " is not recognized as an OLE file " and does not open at all, I try to add the createReaderForFile parameter, it opens, but it reads crookedly.
Actually the question is, how can I read it, without manually formatting it into a normal format (there is no way to open such files every time)? maybe someone faced this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tyazhik, 2019-02-14
@Tyazhik

Try PHPExcel Library

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question