Re: [PHP-DB] MySQLDump through PHP/HTML UI
[email protected] (Chris)
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
phphelp -- kbk wrote: > Hello - - -- - > > I have a utility which creates a MySQLDump of selected tables or the > whole database. This works fine on my development machine, a W2K box. > It does not work on the testing server, a linux box. > > I'll post code if you want, but it is very simple: > > 1. I create the "dump" language, including the file into which the data > is dumped into a variable. > > 2. I perform system($dump_language). I also tried it > exec($dump_language). Both produce the same result: What cmd are you putting together (I assume something for mysqldump)? If you run it manually from the cmd line, does it work? Does it give an error? -- Postgresql & php tutorials http://www.designmagick.com/