Login   Register  
PHP Classes
elePHPant
Icontem

File: sample_cgi

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mark Simkin  >  Backup Class  >  sample_cgi  >  Download  
File: sample_cgi
Role: Example script
Content type: text/plain
Description: This is an simple cgi example.
Class: Backup Class
Backup directory files to local file or ftp server
Author: By
Last change:
Date: 8 years ago
Size: 183 bytes
 

Contents

Class file image Download
#!/bin/php -d max_execution_time = 3600
<?php
require 'class.backup.php';

$backup_dirs = array('./');
$backup = new backupclass($backup_dirs);
$backup->backup('filesys');

?>