Re: [PHP] MySQL Dump

2004-04-24 Thread Michal Migurski
> I just tested it and yes, the Michal function runs on Windows and Linux. > Just must write the path in the proper format for the OS you're using. Holy smokes, that's good news. :) Spreading dis-information is my price for not having the first clue about windows. ---

Re: [PHP] MySQL Dump

2004-04-24 Thread Jordi Canals
I just tested it and yes, the Michal function runs on Windows and Linux. Just must write the path in the proper format for the OS you're using. Regards, Jordi. Matt Palermo wrote: Will this work on both a Windows and Unix server? "Michal Migurski" <[EMAIL PROTECTED]> wrote in message news:[EMAI

Re: [PHP] MySQL Dump

2004-04-23 Thread Michal Migurski
> Will this work on both a Windows and Unix server? No, it's most assuredly a unix-only thing. - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http:

Re: [PHP] MySQL Dump

2004-04-23 Thread Matt Palermo
Will this work on both a Windows and Unix server? "Michal Migurski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Is there an easy way to do a mysql dump routine written in php? I > > basically want to write a function to backup a database and have it > > create all the neccess

Re: [PHP] MySQL Dump

2004-04-22 Thread Michal Migurski
> Is there an easy way to do a mysql dump routine written in php? I > basically want to write a function to backup a database and have it > create all the neccessary structures and data in the dump. I know > phpMyAdmin will do this for me, but I want to write a function to do > this incase the se

Re: [PHP] MySQL Dump using PHP

2003-12-07 Thread Cesar Aracena
"Justin Patrin" <[EMAIL PROTECTED]> wrote news:[EMAIL PROTECTED] > Use mysqldump in a system() call, redirect it to a temp file, then read > it back and out to the browser. > > Or, you could use popen to get the output piped back into php. Make sure > to check the mysqldump options for things you

Re: [PHP] MySQL Dump using PHP

2003-12-06 Thread Justin Patrin
Cesar Aracena wrote: The thing is that I don't have phisical access to the server and it doesn't have telnet access either. What I want to achieve is to make a password protected page inside my site were a button is kept to start a full backup of my MySQL DB and after clicking on it, be able to se

Re: [PHP] MySQL Dump using PHP

2003-12-06 Thread Ajai Khattri
On Sat, Dec 06, 2003 at 06:02:40PM -0300, Cesar Aracena wrote: > The thing is that I don't have phisical access to the server and it doesn't > have telnet access either. What I want to achieve is to make a password > protected page inside my site were a button is kept to start a full backup > of m

Re: [PHP] MySQL Dump using PHP

2003-12-06 Thread Cesar Aracena
The thing is that I don't have phisical access to the server and it doesn't have telnet access either. What I want to achieve is to make a password protected page inside my site were a button is kept to start a full backup of my MySQL DB and after clicking on it, be able to select the Internet Expl

Re: [PHP] MySQL Dump using PHP

2003-12-06 Thread Ajai Khattri
On Sat, Dec 06, 2003 at 04:39:22PM -0300, Cesar Aracena wrote: > I am wondering if someone could point me to the right functions to use to > make a script to dump all the tables in a specific MySQL DB. I need this to > keep a daily backup from my site as the hackers are screwing up my site very >

Re: [PHP] mysql dump --> via php

2002-06-10 Thread Jason Wong
On Monday 10 June 2002 16:34, Wilbert Enserink wrote: > Hi all, > > > I have a .txt file containing a mysql dump. Normally when I would restore > this dump I would go to the mysql 'prompt' and type something like: mysql < > dimpfile.txt. I would use SSH or telnet for this. > > > Now I have this ne

Re: [PHP] MySQL Dump In PHP

2001-06-22 Thread Aral Balkan
I use the mysqldump command line utility to do this and I don't know how to interface that from PHP. However: I just checked how phpMyAdmin does it and apparently it has functions that re-create the dump using queries. You might want to download it (http://www.phpwizard.net/projects/phpMyAdmin/)

RE: [PHP] MySQL Dump In PHP

2001-06-22 Thread Chadwick, Russell
  mysqldump is a command to be used at a prompt, from php you could system ("mysqldump whatever > /tmp/dump.sql"); --- Toolshed Computer Productions - Professional PHP Hosting Hosting - Dedicated Servers - Design - Programming http://www.toolshed51.com -Original Message-From: Chri