Backing up a MySQL database using PHP.
%s.sql.gz',
$host,
$user,
$pass,
$db,
$filename
));
echo '+DONE';
?>
I haven’t actually tried this one yet. The one I use is similar and works with the ‘exec’ command – so this one is a much better function.