Location: PHPKode > projects > Shell Providers Customer/Accounts DB > shelldb/tools/backup.php
<?php include("$DOCUMENT_ROOT/includes/includes.php"); ?> 

<!-- Head -->
<?php include("$DOCUMENT_ROOT/style/head.php"); ?> 

<!-- Navbar -->
<?php include("$DOCUMENT_ROOT/includes/navbar.php"); ?>

<!-- End of NavBar -->

<IMG height=5 alt="" src="/images/blank.gif" width=100><BR>

<!-- Body of Page -->

<?php include("$DOCUMENT_ROOT/style/page-body.php"); ?>

<?php

if(!is_admin()) {
echo '<a href="/login.php">Sorry please login as a administrator</a>';
exit;
}

//Used to echo back backup details
passthru("mysqldump --user=$shelldb_user --password=$shelldb_pass -c --add-drop-table shelldb");

?>





<!-- End of Body -->

<?php

if(!is_admin()) {
echo '<a href="/login.php">Sorry please login as a administrator</a>';
exit;
}

//Used to echo back backup details
passthru("mysqldump --user=$shelldb_user --password=$shelldb_pass -c --add-drop-table shelldb");

?>

<!-- themed page footer -->

<?php

if(!is_admin()) {
echo '<a href="/login.php">Sorry please login as a administrator</a>';
exit;
}

//Used to echo back backup details
passthru("mysqldump --user=$shelldb_user --password=$shelldb_pass -c --add-drop-table shelldb");

?>

<?php

if(!is_admin()) {
echo '<a href="/login.php">Sorry please login as a administrator</a>';
exit;
}

//Used to echo back backup details
passthru("mysqldump --user=$shelldb_user --password=$shelldb_pass -c --add-drop-table shelldb");

?>
Return current item: Shell Providers Customer/Accounts DB