-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark --

...and then Mark Stringham said...
% 
% Well it looks like I have limited options. 

Yep.  Hey, you could always host with me ;-)


% 
% I'm guessing that the web host will let me have limited rights to the 
% server as it is - probably only basic FTP and other limited DB rights - 
% I do hve some control using phpmyadmin to manipulate data. 

OK.

If I were you I'd just try a quick test.  Whip up a php page that says

  <?php
    exec("du -h -d 1",$results,$exit) or die("Could not run du\n") ;
    print "space is:<br>\n<pre>\n" ;
    print_r($results) ;
    print "</pre><br>\n" ;
    print "exit code was '$exit'<br>\n" ;
  ?>

and see what you get.  If it works, whip up another about like

  <?php
    $stamp = date("Y-m-d") ;
    exec("mysqldump -uUSER -pPASS DATABASE",$results,$exit)
      or die("Could not run mysqldump\n") ;
    print "results are:<br>\n<pre>\n" . print_r($results)
      . "</pre><br>\n" ;
    print "exit code was '$exit'<br>\n" ;
  ?>

with USER, PASS, and DATABASE set accordingly (and you should check the
mysqldump grammar; this is all right off the top of my head) and if it
doesn't try any of system, `` or popen.


% 
% I'll almost bet that they won't let me run a task from the server. 
% What about running a script from an exe ?

What script, what exe, and what machine?


% 
% thanks 

Sure thing!


% 
% MS


mysql query,
:-D
- -- 
David T-G                      * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE+OEx9Gb7uCXufRwARAod+AKDaV3f6KSh2eT7zuvIy3gn/osAV6QCgv160
rlm+atsvuT22qIj4fZEKId4=
=0Umb
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to