yosii Posted July 24, 2013 Share Posted July 24, 2013 hi i want to know 2 thing please 1)how can i change encoding of file to utf-8 with php please? it is CSV file.... 2)how can i convert EXEL file to CSV file with PHP please? thank !!! Quote Link to comment Share on other sites More sharing options...
AbraCadaver Posted July 24, 2013 Share Posted July 24, 2013 1) mb_convert_encoding() or iconv() 2) deflate xlsx file, get data from sheet.xml using simplexml, write out CSV with file_put_contents() or fputcsv() Quote Link to comment 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.