Thanks Kelly & the rest who responded,
I do the conversion into XL on the iSeries itself which means I only need
to copy the file from the IFS to the local PC. Since I'm new to PHP this
will be my first project.
I wouldn't want to get started on a 'fading' Net.Data just for this -
which is why I prefer PHP.
Thanks & best regards
Ewart
Kelly Cookson
From:
Kelly Cookson <KCookson@xxxxxxxxxxxx>
To:
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Cc:
Date:
06/18/2010 01:14 AM
Subject:
Re: [WEB400] PHP to download any iSeries file in XL format to the local
directory
If you search the Internet, you can find PHP classes and packages that are
used to create Excel files. Here are a few examples:
http://phpexcel.codeplex.com/
http://sourceforge.net/projects/psxlsgen/
http://www.codediesel.com/php/creating-excel-documents-in-php/
http://www.mt-soft.com.ar/2007/12/21/xls-php-class/
I'm not endorsing any of the above, and you should search for yourself to
see if something looks better for your needs.
I also don't know if all the classes and packages will work in a
Zend-on-i5 environment. They should. But I haven't tested any of them.
You should be able to develop a PHP utility that combines your own PHP
code with a PHP Excel package to read a DB2 table, get the column
headings, and produce an Excel file.
Kelly Cookson
Senior Programmer/Analyst
Dot Foods, Inc.
217-773-4486 x12676
www.dotfoods.com
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of ewart.desouza@xxxxxxxxxxx
Sent: Thursday, 17 June 2010 5:42 p.m.
To: web400-bounces@xxxxxxxxxxxx; web400@xxxxxxxxxxxx
Subject: [WEB400] PHP to download any iSeries file in XL format to the
local directory
Hello All,
Do you know if anyone has create a utility in PHP to download any iSeries
file in XL format to a local directory ??
We usually do this in XL itself but only the field names & not the field
headings appear. Some users do not have this facility which is why I was
planning on developing a web based PHP utility.
Thanks & best regards
Ewart
This e-mail is confidential and it is intended only for the addressees.
Any review, dissemination, distribution, or copying of this message by
persons or entities other than the intended recipient is prohibited. If
you have received this e-mail in error, kindly notify us immediately by
telephone or e-mail and delete the message from your system. The sender
does not accept liability for any errors or omissions in the contents of
this message which may arise as a result of the e-mail transmission.
As an Amazon Associate we earn from qualifying purchases.