Excel Stream

Xlsstream is a stream wrapper to read and write MS Excel files
This class has been made by Ignatius Teo, from australia.
This class implements a stream handler interface to read and write Microsoft Excel spreadsheet files in the XLS format.

XLS files may be read and written using PHP fopen, fread or fwrite, or any other PHP functions that can access to streams.
The file name has the format xlsfile://path/to/spreadsheet.xls where /path/to/spreadsheet.xls is the path of the actual spreadsheet file to be read or written.
To create a XLS file just pass a serialized array of spreadsheet row arrays that associate the column names with their values.
In the current version the class does not process the data read from a XLS file. Instead it just returns the raw XLS file data as is.
This class requires at least PHP 4.3.0 as that is the version when stream handling support was introduced in PHP.

Required PHP version: 4.3
License: BSD License

No comments: