Location: PHPKode > scripts > ajDbBackup > ajdbbackup/backup.php
<?php
include './ajDbBackup.class';
$backup = new ajDbBackup;
$backup->emailTo = "hide@address.com";
$backup->emailFrom = "hide@address.com";
$backup->host = "mysqlHost";
$backup->user = "mysqlUser";
$backup->password = "mysqlUserPassword";
$backup->dbName = "mysqlDbNameToBeBacked";
$backup->ajMail();
?>
Return current item: ajDbBackup