Code Script .co.uk

Home | Scripts | Tutorials | Disclaimer | Sitemap | Contact

   Gzip File
 

Reference / Php / Gzip File

G-Zip a file in PHP via the command line.


$zipline = "tar -czf $filename.tar.gz $filename.sql";

shell_exec($zipline);





Please note that a disclaimer applies to any code on this page.
 
   Actions
  Go Back
  Bookmark
  Print Page


   Menu
 
- Links
- Reference
     - Javascript
     - Mysql
     - Php
          - Calculate Date Yesterday
          - Database Backup
          - Ftp Upload
          - Gzip File
          - List Files In Directory
          - Previous Sql Insert Id
          - Send Email
          - Server Visitor Properties
          - Set Global Get And Post Variables
          - Sql Query Results
     - Standards
     - Vbscript
- Script Editors
- Tutorials