I want to create a backup from a database, but I get only a blank file.
include(\'config.php\'); $command = \"mysqldump --opt -h \".$_host.\" -u \".$_user.\
If you look at the manual for exec the output goes to an array that is the second argument. That may be the source of the problem.