sorry but i think to do not understand what you are telling me..
i modified the code in this way but i don't get the point..
PHP Code pan style="color: #000000"> include ("../../t6/include/connect.php");
$backupFile = '../../t6/backup/' . $db . date("Y-m-d-H-i-s") . '.sql';
$command = "mysqldump -h $host -u $user -p$password $db > $backupFile";
$file = fopen('../../t6/backup/temp.bat', 'w+');
$filepath = '../../t6/backup/temp.bat';
fwrite($file,$command);
fclose($file);
exec($filepath);
?>
still it doesn't work..
|