To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Linux/Unix Help

Linux/Unix Help Help with server-side Linux and Unix issues

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-17-2002, 11:01 AM   #1
yael
Junior Member
 
Join Date: Oct 2002
Posts: 1
Question converting .xls to .csv

I have a php program that allows the user to upload a csv file. The program reads the data in a csv file and loads it into a mysql database.

The problem I have is that most of our customers send us the data in .xls format, and it's extremely time consuming to open every file in excel and save as a .csv file.

Does anyone know of a procedure or shell script that would convert an excel file to a csv file automatically. Is it not possible because it's binary?

I appreciate any help!

Thanks.
yael is offline   Reply With Quote
Old 10-26-2002, 01:13 PM   #2
nashirak
Senior Member
 
Join Date: Jul 2001
Posts: 305
Never tried it before but :

http://www.ice.ru/~vitus/catdoc/xls2csv.html

Hope this Helps!

(BTW PHP doesnt support edititng/createing etc file in Microsoft office directly. 3rd party tools have to be used, such as this one)
nashirak is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:37 AM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.