Reading a XCEL file from PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Aruna
Forum Newbie
Posts: 3
Joined: Tue Aug 25, 2009 11:45 pm

Reading a XCEL file from PHP

Post by Aruna »

Hi all,

I need a help regarding reading a XCEL file from the PHP. Pls let me know if any one know the answer

Regards,
Aruna.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Reading a XCEL file from PHP

Post by requinix »

Do you mean "Excel"?

If it's a simple comma-separated file then fgetcsv is the function you want. Otherwise I hear the PHPExcel project is good.
Aruna
Forum Newbie
Posts: 3
Joined: Tue Aug 25, 2009 11:45 pm

Re: Reading a XCEL file from PHP

Post by Aruna »

Hi,

Yes it should be "Excel". I have spelled it wrongly.

My server is windows therefore I'm not sure weather PHPExcel will work with windows. If anybody already know please let me know.

Regards,
Aruna.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Reading a XCEL file from PHP

Post by requinix »

5 seconds.
Requirements
* PHP version 5.2 or higher
* PHP extension php_zip enabled
* PHP extension php_xml enabled
* PHP extension php_gd2 enabled (if not compiled in)
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: Reading a XCEL file from PHP

Post by Mark Baker »

Aruna wrote:My server is windows therefore I'm not sure weather PHPExcel will work with windows. If anybody already know please let me know.
PHPExcel is pure PHP with no platform dependence, so it will work on Windows, Linux, Mac, or any platform that can run PHP.
The only prerequisites are those that tasairis has listed
Aruna
Forum Newbie
Posts: 3
Joined: Tue Aug 25, 2009 11:45 pm

Re: Reading a XCEL file from PHP

Post by Aruna »

Dear All,

I will work on that and see. Thanks lot for the your supports.

Regards,
Aruna
Post Reply