Login   Register  
PHP Classes

Class: MS-Excel Stream Handler

Icontem
elePHPant

  Classes of Ignatius Teo  >  MS-Excel Stream Handler  >  Download  >  Support forum Support forum (45)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: MS-Excel Stream Handler Support forum
Base name: xlsstream
Description: Stream wrapper to read and write MS Excel files
Version: -
Required PHP version: 4.3
License: BSD License
 
  Author   Group folder image Groups   Detailed description  
  Trackback   Applications   Files Files  

Author

Picture of Ignatius Teo
Name: Ignatius Teo <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Australia Australia - PHP jobs in Australia
Home page: http://act28.com/

Innovation Award

PHP Programming Innovation award winner
October 2004
Winner
Microsoft Excel is one of the most popular applications for desktop users, especially as a business work tool. Therefore the generation of spreadsheets in the Excel XLS format is a frequently used feature of Web applications to provide information in a way that lets their users do their work using Excel.

There have always been plenty of solutions to generate spreadsheet files in the XLS format. However, this class provide an innovating approach to the problem of generating XLS files.

This class takes advantage of the stream wrapping capabilities introduced in PHP 4.3 to let applications create XLS files just by using common file handling functions, making the generation of this type of files a trivial task.

Manuel Lemos

Groups

Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Stream wrappers Access resources like regular files View top rated classes

Detailed description

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.

Trackback links

Link Description
Convert csv to xls (excel) in php Luckily for me, Ingatius Teo has done all of the heavy lifting, I just had to add a little code around it...
Create Excel files with PHP Have you ever thought of creating excel files from your web site?...
Create excel files with PHP Have you ever thought of creating excel files from your web site?...
Creating excel files through PHP No need to use complicated or extensive libraries (such as PEAR) to create Excel pages...
Generar Excel con PHP La presente es una pequeña guía de como generar archivos en formato Excel utilizando PHP...
Generating Excel files with PHP Danne Lundqvist has posted about the process he went through when developing a solution to create Excel files in PHP:...
muss Exceldatei (.xls) in eine CSV-Datei konvertieren PHP-Kenntnisse: Anfänger 123leichtkauf befindet sich auf einem aufstrebenden Ast Standard muss Exceldatei (.xls) in eine CSV-Datei konvertieren Moin moin, ich hab das Problem, dass ich eine .xls in eine .csv konvertieren muss...
PHP : Dead Easy Excel Export Some people like their excel files...
PHP to Excel I was tasked with exporting report to Microsoft Excel files...
PHP, XML and MS Excel Files Need to check these out:...
Problemas al Exportar a Excel Hola Bueno yo aun no encuentro solucion al problema como lo que yo exporto son ordenes de servicio pues le agregue al numero la palabra ost ya en el excel el usuario lo extrae y al menos se queda contento por un momentito hay una pagina muy buena quizas te ayude es esta Class: MS-Excel Stream Handler (excel, xls, spreadsheet, wrapper) - PHP Classes hay muchos ejemplitos de diferentes tipos quizas por ahi este la solucion a nuestro problema yo aun no reviso...
Registro Fashion 2009 | Aplicacion AIR Pues esta ocacion les hablare de una aplicacion que apenas termine...
Vinu Thomas Blog: Saving Data into Excel the Easy Way using PHP Vinu Thomas has a new post to his blog looking at using the MS-Excel Stream Handler class to push your data out to Excel (in more than just a CSV file)...
Where is my file? I am creating a small project to manage some books for my team...
Write Excel Files in PHP - Simple and Easy Way So this time my simple task was to extract some data from some websites and write them into an excel file and submit...
Writing To Excel With PHP Today I searched how to write out an Excel file with PHP...
[Erledigt] Excel-Datei mit PHP lesen unter Linux Siehe Excel Klasse vom...

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file example_download.php Example Example download script
Plain text file example_export.php Example Example export script
Plain text file excel.php Class Primary class
Plain text file README Doc. README file
Download all files: xlsstream.tar.gz xlsstream.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.