Build Tar file from directory in PHP without exec/passthru

前端 未结 4 933
面向向阳花
面向向阳花 2021-01-02 06:19

So I have a client who\'s current host does not allow me to use tar via exec()/passthru()/ect and I need to backup the site periodicly and programmaticly so is there a solut

4条回答
  •  温柔的废话
    2021-01-02 07:05

    There is the Archive_Tar library. If that can't be used for some reason, the zip extension might be another option.

提交回复
热议问题