PHP Classes

File: backup.php

Recommend this page to a friend!
  Classes of Aman Kumar Jain  >  ajDbBackup  >  backup.php  >  Download  
File: backup.php
Role: Example script
Content type: text/plain
Description: Example file
Class: ajDbBackup
Take a MySQL database backup and send it by e-mail
Author: By
Last change:
Date: 7 years ago
Size: 309 bytes


Class file image Download
include './ajDbBackup.class';
$backup = new ajDbBackup;
$backup->emailTo = "email@domain.tld";
$backup->emailFrom = "emailTwo@domain.tld";
$backup->host = "mysqlHost";
$backup->user = "mysqlUser";
$backup->password = "mysqlUserPassword";
$backup->dbName = "mysqlDbNameToBeBacked";