This works:
exec("mysqldump -u **** -p**** -A > test.sql");
This doesn't.
exec("mysqldump -u **** -p**** -A > $filename");
:)????
<?php
$filename = "/home/johj2201/public_html/mysqldump/db_backup_" . date("n-j-y").".sql";
exec("mysqldump -u **** -p**** -A > $filename");
echo "dump completed on $filename ";
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

