I need to convert an .xls file to text, i dont need it formatted in any way. The file is filled with productids like PN-5098P, which i will preg_match_all to get.

我需要将.xls文件转换为文本,我不需要以任何方式格式化它。文件中填充了productids,如PN-5098P,我将preg_match_all获取它。

What is the simplest solution? I tried simply opening the file in a regular texteditor, the ids are not showing, so i guess i need some kind of binary converter?

最简单的解是什么?我试着在一个普通的texteditor中打开文件,id没有显示,所以我想我需要某种二进制转换器?

4 个解决方案

#1


14

This is a good start:

这是一个良好的开端:

http://code.google.com/p/php-excel-reader/

http://code.google.com/p/php-excel-reader/

更多相关文章

  1. 解决Apache2+PHP上传文件大小限制的问题技术集锦
  2. 上传文件时通过AJAX更新列表
  3. 如何防止.htaccess重定向中的一个文件?
  4. 使用mod_rewrite将文件夹转换为查询字符串
  5. PHP上传文件 Error 6解决方法
  6. 使用.php文件生成一个MySQL转储文件。
  7. thinkPHP5下扩展encryptedData解密算法文件的注意事项
  8. 如何加载json文件?
  9. 使用AJAX将数据发送到.php文件,如何从中获取数据?

随机推荐

  1. Set集合就这么简单!
  2. Unity平台 | 快速集成华为性能管理服务
  3. 模板方法模式在开源代码中应用
  4. 4: zabbix5.0自动发现网站域名并监控访问
  5. 接了烂代码的项目,怎么玩好?
  6. 分享几个写并发题遇到的坑
  7. 如何写高质量的代码(完结)
  8. 多线程基础必要知识点!看了学习多线程事半
  9. 想要的资源就在那,为什么你总是搜不到?
  10. 三十