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:[EMAIL
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.
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 neccessary
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
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 server
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 server
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 need (I
Hi all,
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
often these days.
Thanks in advanced,
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
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
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 my
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
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 new problem: I cannot reach the sql pompt via SSH/telnet. Is there
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 new
I've been reading through the MySQL manual about
backing up my database using mysql dump. I tried passing it as a Query in PHP
but that doesn't seem to work. Does anyone know how to do this? Also does the
dump back up the files into a directory I specify? I am on a virtual host and
need to
rom: Chris Anderson
[mailto:[EMAIL PROTECTED]]Sent: Friday, June 22, 2001 1:16
AMTo: [EMAIL PROTECTED]Subject: [PHP] MySQL Dump
In PHP
I've been reading through the MySQL manual about
backing up my database using mysql dump. I tried passing it as a Query in PHP
but that doesn't se
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/)
17 matches
Mail list logo