<?php
$pathToMysqldump = "C:\xampp\mysql\bin";
$user= "root";
$pass= "";
$namedb= "test";
$output= "C:\xampp\htdocs\test\test.sql
//backup saved
exec("$pathToMysqldump --user=$user--password=$pass $namedb> $output");
//header('Location: http://localhost/test);
exit;
Hi people, i cant do it work, I use xampp and back dont creat the file .sql.
Thanks a lot.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.