2004-04-14 kl. 11.26 skrev Burhan Khalid:


Just redirect the output from mysqldump.

mysqldump -u username -ppassword database > dump.sql

and then send that dump.sql file. Or, you can just read the output from the mysqldump command directly, using output buffering to make sure your script doesn't just stall (if its a big database).

But… the database is on a hotel to which I have no remote access to mysql… My client want to be able to click a link and get a "backup file" in return…


Is it possible to redirect the output from mysqldump using only php, and with no command line access?

Sincerely

Victor

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to