dongzhan2461 2010-05-05 21:51
浏览 30

PHP中的文件压缩技术

We are making one web site on which site users, can upload the data.
Data will be in any format. means it can any media file or any image file or any video file or any document file.
Any compression technique for any data.
We are using PHP.
Anything you suggestion by which whatever the data gone on server, it should be in minimum size.
Any suggestion technique. But first rule is, data should be compressed maximum.
And it will be greatly appreciated if you can suggest me with out any software, use by just coding.
Thanks in advance.

  • 写回答

2条回答 默认 最新

  • du5591 2010-05-05 21:55
    关注

    You can compress it (create a tar file for example) when moving the file from its temp upload location to a more permanent place on disk. However the file types you are talking about are binary files which don't always compress very much. Second no one compression scheme will result in the best results for all file types.

    评论

报告相同问题?

悬赏问题

  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 Centos / PETSc / PETGEM