Re: MySQL back up
| From: | David Robley | Date: | Tue, 08 Oct 2002 22:18:04 +0000 |
| Subject: | Re: MySQL back up | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119343@lists.php.net to get a copy of this message | ||
In article <20021008020016.43118.qmail@pb1.pair.com>, admin@kabwebs.com
says...
> Hi All!
>
> Anyone know how to code the MySQL command in PHP to make the database script
> download to your local hard disk, without writing 100 lines of code?
>
> I tried the mysqldump without any luck, but I think there is an easy way to
> do it, just not sure how to code it.
>
> Thanks in advance!
passthru and mysqldump should be able to do that for you - perhaps if you
were to show the code you tried, someone might be able to suggest
improvements.
--
David Robley
Temporary Kiwi!
Quod subigo farinam