[thelist] PHP .xls export

sbeam sbeam at onsetcorps.net
Sat Feb 25 22:44:10 CST 2006


On Saturday 25 February 2006 02:10 pm, Dejan Kozina wrote:
> I suppose you are referring to the Spreadsheet_Excel_Writer PEAR 
> package. Well, you don't need the whole of PEAR to use it. As far as I 
> can tell that package has no declared dependencies on other modules 
and 
> comsists of php scripts only, so all you need is a folder to put it in 
> and a include statement at the beginning of your script.
> 
> djn

Good point but it looks like it does require PEAR.php jsut for the error 
handling. So you could download both the Spreadsheet_Excel_Writer 
package and the PEAR.php and make sure those are both in your path and 
it should work.

Also, fyi you can install all of PEAR locally, as long as you have FTP 
or ssh access. May take some imaginative hacks depending on how locked 
down the host is, but it can always be done.
http://pear.php.net/manual/en/installation.shared.php

also I've used Spreadsheet_Excel_Writer and it works very well. You 
probably won't find anything better but I'd be interested if so.

-- 

# S Beam - Web App Dev Servs
# http://www.onsetcorps.net/



More information about the thelist mailing list