Help - PHP Script that saves an excel file as .csv

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
popuskin
Forum Newbie
Posts: 6
Joined: Thu Sep 04, 2008 8:01 am

Help - PHP Script that saves an excel file as .csv

Post by popuskin »

I need help with a php script that can save an excel file from a website as a ,csv file.
The excel file resides on one website but I need a php script on another server to get the file and saves it as a .csv file.

Can anyone give me the code to do this?
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: Help - PHP Script that saves an excel file as .csv

Post by omniuni »

Try checking this thread: http://www.tek-tips.com/viewthread.cfm? ... 395&page=1

Reading from *.xls files is extremely difficult.

If possible, enable exec on the server, and use openoffice calc to convert to CSV.
Post Reply