jeeves245 Posted August 17, 2009 Share Posted August 17, 2009 I have an existing script that uploads and processes a CSV file. But I was thinking it might be a good idea to let PHP do the conversion from XLS to CSV as well as upload it. Does PHP have a function to handle this? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/170585-convert-xsl-to-csv/ Share on other sites More sharing options...
jeeves245 Posted August 17, 2009 Author Share Posted August 17, 2009 Sorry, I mean XLSX (Excel spreadsheet) to CSV. Not XSL. Quote Link to comment https://forums.phpfreaks.com/topic/170585-convert-xsl-to-csv/#findComment-899807 Share on other sites More sharing options...
phpdeveloper82 Posted August 17, 2009 Share Posted August 17, 2009 Most of the time, I used the method Open excel file --> file -> save as -> .csv file You can check the following package to read xls file using php: http://sourceforge.net/projects/phpexcelreader/ Also please have a look on the page: http://www.prodevtips.com/2008/11/02/from-excel-xls-to-csv-with-php-excelreader/ Check & post the feedback Good Luck!! Quote Link to comment https://forums.phpfreaks.com/topic/170585-convert-xsl-to-csv/#findComment-899825 Share on other sites More sharing options...
jeeves245 Posted August 17, 2009 Author Share Posted August 17, 2009 Cheers, i'll give it a go and let you know Quote Link to comment https://forums.phpfreaks.com/topic/170585-convert-xsl-to-csv/#findComment-899827 Share on other sites More sharing options...
Mark Baker Posted August 17, 2009 Share Posted August 17, 2009 An alternative library to read XLS or XLSX files directly is PHPExcel Quote Link to comment https://forums.phpfreaks.com/topic/170585-convert-xsl-to-csv/#findComment-899969 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.