Page 1 of 1

System() function is not working with mysqldump. WHY?

Posted: Thu Feb 23, 2006 1:04 am
by victhour
hi pepz!

assuming all variables are ok.

the statemenst below is giving me no output.

Code: Select all

$backupFile = $dbse.'sql';
$command = "mysqldump --opt -h $host -u $user -p $pass $dbse > $backupFile";
system($command);
pls... help.

tanx in advanced.

Posted: Thu Feb 23, 2006 1:05 am
by John Cartwright
how about

Code: Select all

system($command, $retval);

echo $retval;

Posted: Thu Feb 23, 2006 2:06 am
by victhour
i didn't notice any output :(

how do i see the dumped files according to whatever on $dbse.'sql'

please i need more help (

tanx...

Posted: Fri Feb 24, 2006 4:42 am
by victhour
does any body know some idea.