Skip to content

Instantly share code, notes, and snippets.

@yoimbert
Created July 8, 2015 08:43
Show Gist options
  • Save yoimbert/fb0ac7699413414e9cef to your computer and use it in GitHub Desktop.
Save yoimbert/fb0ac7699413414e9cef to your computer and use it in GitHub Desktop.
dump php
<?php
echo "Votre base est en cours de restauration.......<br>";
system("mysqldump -h localhost -u user -pPASSWORD DB > dump.sql");
echo "C'est dumpé";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment