[thelist] PHP .xls export

Rick den Haan rick.denhaan at gmail.com
Sat Feb 25 15:56:27 CST 2006


Looking further, I found an Excel file format specification on the
OpenOffice.org website[1]. In this file it's stated (page 10) that Excel
uses the Binary Interchange File Format (BIFF). A google on that gave me a
PHP to Excel class called BiffWriter[2], which has an online demo with
formatted .XLS output.

The main class file in the free download is Zend-encoded, so I have no idea
how it does its job, but the demo works locally even though I do not have
PEAR installed. I'll have a play with it and see if it does what I want it
to.

Rick.

[1]: http://sc.openoffice.org/excelfileformat.pdf
[2]: http://www.web-aware.com/biff/



More information about the thelist mailing list