Hi everyone
I know there already is a thread on that one, but not enough for me to make it work.
So I know I can do :
$command = "mysqldump -u [username] -p [password] [databasename] > [backupfile.sql]";
then
system($command);
the thing is, I'm on a web server (hosting company) and "> backupfile.sql" does not mean nothing to me
I'm trying to send it on an other server so I tried to put this instead :
"> ftp://user:pass@www.domain.com/pathtofile/backupfile.sql"
But nothing happens, I mean, the file does not create on my other server, and if I try to print $command, blank page.
Does anyone can help me here ?
Thanks