This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| /** | |
| * PHP script to zip folder using RecursiveDirectoryIterator PHP function | |
| */ | |
| // Get real path for folder | |
| $folder_to_zip = realpath("path-to-folder"); | |
| //saving zip | |
| $zipname = "zip-file-name.zip"; | 
NewerOlder