Login   Register  
PHP Classes
elePHPant
Icontem

File: Command/Notification/email_templates/failed.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alexey Freelancer  >  Backup Task  >  Command/Notification/email_templates/failed.php  >  Download  
File: Command/Notification/email_templates/failed.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Backup Task
Take backups of directories and MySQL databases
Author: By
Last change: Code formatting
Date: 2 years ago
Size: 398 bytes
 

Contents

Class file image Download
Failed backup

<?php
// common stats
include 'components/common_stats.php';

echo 
"\n";

// backup stats
foreach ($backup as $key => $value) {
    echo 
"\n\nBackup {$key} statistics:\n";
    include 
"components/{$key}_stats.php";
}

echo 
"\n";

// upload stats
foreach ($upload as $key => $value) {
    echo 
"\n\nUpload {$key} statistics: \n";
    include 
"components/{$key}_upload_stats.php";
}
?>