Which compression method to use in PHP?

前端 未结 4 1851
抹茶落季
抹茶落季 2020-11-30 21:41

I have a large amount of data to move using two PHP scripts: one on the client side using a command line PHP script and other behind Apache. I POST the data to the server si

4条回答
  •  感情败类
    2020-11-30 22:17

    All methods are essentially the same, the difference between them is mostly in the headers. personally I'd use gzencode, this will produce output which is equal to a commandline invocation to the gzip utility.

提交回复
热议问题