I am having the command line to backup the db and wnat to run through the browser.How can I do it.Because when I execute the below code with the inputs it wont give me the output.Why?How can I achieve the db backup if it is not work out.
$command = "mysqldump --opt -h $dbhost -u $dbuser -p $dbpass $dbname | gzip > $backupFile";
print system($command);