Skip to content

Instantly share code, notes, and snippets.

View ptihiy's full-sized avatar
💭
Looking for job

Pavel Smirnov ptihiy

💭
Looking for job
  • Russia, Saint-Petersburg
View GitHub Profile
@ptihiy
ptihiy / zip.php
Created December 2, 2015 07:59 — forked from jonmaim/zip.php
PHP script to remotely create zip archives of your FTP
<?php
/*
*
* This script will backup your web site by remotely archiving all files on the root FTP directory.
* It will work even if your web server is memory limited buy splitting zips in several arhive files it they are too many files.
* All zip files will be stored in a directory called temporary which must be writable.
*
* How to use it:
* - Place the script at the root of your FTP.